Paul Masurel
6ff60b8ed8
Fixing README ( #426 )
2018-09-17 06:20:44 +09:00
Paul Masurel
8da28fb6cf
Added iml filewq
2018-09-16 13:26:54 +09:00
Paul Masurel
0df2a221da
Bump version pre-release
0.7.0
2018-09-16 13:24:14 +09:00
Paul Masurel
5449ec3c11
Snippet term score ( #423 )
2018-09-16 10:21:02 +09:00
Paul Masurel
10f6c07c53
Clippy ( #422 )
...
* Cargo Format
* Clippy
2018-09-15 20:20:22 +09:00
Paul Masurel
06e7bd18e7
Clippy ( #421 )
...
* Cargo Format
* Clippy
* bugfix
* still clippy stuff
* clippy step 2
2018-09-15 14:56:14 +09:00
Paul Masurel
37e4280c0a
Cargo Format ( #420 )
2018-09-15 07:44:22 +09:00
Paul Masurel
0ba1cf93f7
Remove Searcher dereference ( #419 )
2018-09-14 09:54:26 +09:00
Paul Masurel
21a9940726
Update Changelog with #388 ( #418 )
2018-09-14 09:31:11 +09:00
pentlander
8600b8ea25
Top collector ( #413 )
...
* Make TopCollector generic
Make TopCollector take a generic type instead of only being tied to
score. This will allow for sharing code between a TopCollector that
sorts results by Score and a TopCollector that sorts documents by a fast
field. This commit makes no functional changes to TopCollector.
* Add TopFieldCollector and TopScoreCollector
Create two new collectors that use the refactored TopCollector.
TopFieldCollector has the same functionality that TopCollector
originally had. TopFieldCollector allows for sorting results by a given
fast field. Closes tantivy-search/tantivy#388
* Make TopCollector private
Make TopCollector package private and export TopFieldCollector as
TopCollector to maintain backwards compatibility. Mark TopCollector
as deprecated to encourage use of the non-aliased TopFieldCollector.
Remove Collector implementation for TopCollector since it is not longer
used.
2018-09-14 09:22:17 +09:00
Paul Masurel
30f4f85d48
Closes #414 . ( #417 )
...
Updating documentation for load_searchers.
2018-09-14 09:11:07 +09:00
Paul Masurel
82d25b8397
Fixing snippet example
2018-09-13 12:39:42 +09:00
Paul Masurel
2104c0277c
Updating uuid
2018-09-13 09:13:37 +09:00
Paul Masurel
dd37e109f2
Merge branch 'issue/368b'
2018-09-11 20:16:14 +09:00
Paul Masurel
cc23194c58
Editing document
2018-09-11 20:15:38 +09:00
Paul Masurel
63868733a3
Added SnippetGenerator
2018-09-11 09:45:27 +09:00
Paul Masurel
644d8a3a10
Added snippet generator
2018-09-10 16:39:45 +09:00
Paul Masurel
e32dba1a97
Phrase weight
2018-09-10 09:26:33 +09:00
Paul Masurel
a78aa4c259
updating doc
2018-09-09 17:23:30 +09:00
Paul Masurel
7e5f697d00
Closes #387
2018-09-09 16:23:56 +09:00
Paul Masurel
a78f4cca37
Merge branch 'issue/368' into issue/368b
2018-09-09 16:04:20 +09:00
Paul Masurel
2e44f0f099
blop
2018-09-09 14:23:24 +09:00
Vignesh Sarma K
9ccba9f864
Merge branch 'master' into issue/368
2018-09-07 20:27:38 +05:30
Paul Masurel
9101bf5753
Fragments
2018-09-07 09:57:12 +09:00
Paul Masurel
23e97da9f6
Merge branch 'master' of github.com:tantivy-search/tantivy
2018-09-07 08:44:14 +09:00
Paul Masurel
1d439e96f5
Using sort unstable by key.
2018-09-07 08:43:44 +09:00
Paul Masurel
934933582e
Closes #402 ( #403 )
2018-09-06 10:12:26 +09:00
Paul Masurel
98c7fbdc6f
Issue/378 ( #392 )
...
* Added failing unit test
* Closes #378 . Handling queries that end up empty after going through the analyzer.
* Fixed stop word example
2018-09-06 10:11:54 +09:00
Paul Masurel
cec9956a01
Issue/389 ( #405 )
...
* Setting up the dependency.
* Completed README
2018-09-06 10:10:40 +09:00
Paul Masurel
c64972e039
Apply unicode lowercasing. ( #408 )
...
Checks if the str is ASCII, and uses a fast track if it is the case.
If not, the std's definition of a lowercase character.
Closes #406
2018-09-05 09:43:56 +09:00
Paul Masurel
b3b2421e8a
Issue/367 ( #404 )
...
* First stab
* Closes #367
2018-09-04 09:17:00 +09:00
Paul Masurel
f570fe37d4
small changes
2018-08-31 09:03:44 +09:00
Paul Masurel
6704ab6987
Added methods to extract the matching terms. First stab
2018-08-30 09:47:19 +09:00
Paul Masurel
a12d211330
Extracting terms matching query in the document
2018-08-30 09:23:34 +09:00
Paul Masurel
ee681a4dd1
Added say thanks badge
2018-08-29 11:06:04 +09:00
petr-tik
d15efd6635
Closes #235 - adds a new error type ( #398 )
...
error message suggests possible causes
Addressed code review 1 thread + smaller heap size
2018-08-29 08:26:59 +09:00
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
18814ba0c1
add a test for second fragment having higher score
2018-08-28 22:27:56 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
f247935bb9
Use HighlightSection::new rather than just directly creating the object
2018-08-28 22:16:22 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
6a197e023e
ran rustfmt
2018-08-28 20:41:58 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
96a313c6dd
add more tests
2018-08-28 20:41:58 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
fb9b1c1f41
add a test and fix the bug of not calculating first token
2018-08-28 20:41:58 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
e1bca6db9d
update calculate_score to try_add_token
...
`try_add_token` will now update the stop_offset as well.
`FragmentCandidate::new` now just takes `start_offset`,
it expects `try_add_token` to be called to add a token.
2018-08-28 20:41:58 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
8438eda01a
use while let instead of loop and if.
...
as per CR comment
2018-08-28 20:41:57 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
b373f00840
add htmlescape and update to_html fn to use it.
...
tests and imports also updated.
2018-08-28 20:41:57 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
46decdb0ea
compare against accumulator rather than init value
2018-08-28 20:41:41 +05:30
Vignesh Sarma K (വിഘ്നേഷ് ശ൪മ കെ)
835cdc2fe8
Initial version of snippet
...
refer #368
2018-08-28 20:41:41 +05:30
Paul Masurel
19756bb7d6
Getting started on #368
2018-08-28 20:41:41 +05:30
CJP10
57e1f8ed28
Missed a closing bracket ( #397 )
2018-08-28 23:17:59 +09:00
Paul Masurel
2649c8a715
Issue/246 ( #393 )
...
* Moving Range and All to Leaves
* Parsing OR/AND
* Simplify user input ast
* AND and OR supported. Returning an error when mixing syntax
Closes #246
* Added support for NOT
* Updated changelog
2018-08-28 11:03:54 +09:00
Paul Masurel
ede97eded6
Removed use
2018-08-28 09:54:04 +09:00