Paul Masurel
249759c878
issue/50 Test broken
2016-11-02 00:51:50 +09:00
Paul Masurel
5f96823e80
issue/50 Switched to BooleanQueryScorer
2016-10-31 10:24:45 +09:00
Paul Masurel
7421e0a48d
issue/50 going on
2016-10-30 18:47:24 +09:00
Paul Masurel
893932dff8
issue/50 Implementation ooleanScorer.
2016-10-30 17:03:37 +09:00
Paul Masurel
fa78baf278
issue/50 Introducing Term Query / Boolean Query
2016-10-30 17:03:00 +09:00
Paul Masurel
8b5f7af688
issue/50 Added documentation for the query object.
2016-10-30 10:06:51 +09:00
Paul Masurel
767fa94d18
issue/50 Removed StandardQuery
2016-10-29 17:13:12 +09:00
Paul Masurel
332be6d581
issue/50 Removed ScoredDoc
2016-10-29 15:09:46 +09:00
Paul Masurel
67b1071412
issue/50 Moved segment local collection to the DocSet object.
2016-10-29 14:41:50 +09:00
Paul Masurel
0ca7832875
issue/50 First try
...
The dynamic dispatch is not hurting perf a little.
The "the" query goes from 158 ms -> 188 ms.
2016-10-29 13:00:08 +09:00
Paul Masurel
20c089b9f1
bug/4 fixed for clippy
2016-10-16 18:31:29 +09:00
Paul Masurel
e5b51e57b4
Merge branch 'master' into bug/4
2016-10-15 22:59:36 +09:00
Paul Masurel
0f246ba908
bug/4 Introduce segment_updater
2016-10-15 12:16:30 +09:00
Paul Masurel
746d6284d9
#4 Using peek_mut API from binary heap instead of replace
2016-10-14 15:30:36 +09:00
Michael J. Curry
b9ef5909ad
small changes to doc comments
2016-09-29 16:47:02 -04:00
Paul Masurel
1a08ca4f95
Doc
2016-09-22 15:45:37 +09:00
Paul Masurel
b337adbd78
NOBUG Added comments.
2016-09-21 00:52:31 +09:00
Paul Masurel
e8d5baa44b
NOBUG Adding documentation
2016-09-20 08:58:43 +09:00
Paul Masurel
17715fe84c
Added documentation
2016-09-20 00:43:52 +09:00
Paul Masurel
f3a24f5b3c
NOBUG Code cleaning , cargo clippy
2016-09-19 17:01:37 +09:00
Paul Masurel
89cac9225b
NOBUG Added unit test
2016-09-18 23:29:32 +09:00
Paul Masurel
b2afe8592c
Erased text in README
2016-08-26 10:17:09 +09:00
Paul Masurel
ce95bfd9a5
Closes #19 . Move example to examples directory.
2016-08-24 10:58:08 +09:00
Paul Masurel
e6200e85af
Schema now:
...
- internally wrapped by an Arc, cloning aggressively is ok.
- a field in schema, redundant with metas
- read-only. Needs to be built via a SchemaBuilder.
2016-08-23 22:23:47 +09:00
Paul Masurel
0972a1c6a0
Removing data copy in the RAMDirectory
...
The fst crate recently added support for sliced `Arc<Vec<u8>>`.
This called for a rewrite of the RAMDirectory for tantivy's RAMDirectory.
Previously every single read was copying data.
In addition:
- RAMDirectory's Write object panic if someone does not flush
right before the destruction of the object.
- In the same spirit, the postings serializer panics if someone
opens a term without closing the previous one.
Closes #16
2016-08-18 10:45:34 +09:00
Paul Masurel
1f4fafd964
Added usage snippet for tantivy
2016-08-16 00:58:11 +09:00
Paul Masurel
cf50b97f8e
FieldType::Text -> Str
2016-08-14 23:29:00 +09:00
Paul Masurel
4773c8581c
Moved cli to another project
2016-08-14 23:08:17 +09:00
Paul Masurel
1807e0710c
Bugfix in schema json decoder
2016-08-14 10:58:04 +09:00
Paul Masurel
29abea07d4
Refactoring
2016-08-14 10:26:56 +09:00
Paul Masurel
4c42c314e3
Changed serialization of field_entry
2016-08-13 23:45:12 +09:00
Paul Masurel
c3e3715cbd
Can request for more or less functionality when opening a segment postings.
2016-08-13 14:15:28 +09:00
Paul Masurel
f9ee6c45bd
Added occur
2016-08-07 00:06:03 +09:00
Paul Masurel
179095fb6a
Allow for u32 terms in query.
2016-08-06 18:59:07 +09:00
Paul Masurel
d4bbec6631
Safer interface for union_postings
2016-08-06 18:30:05 +09:00
Paul Masurel
0ee473f474
Added tantivy::Error
2016-08-06 17:02:31 +09:00
Paul Masurel
bf0d072c2d
next() -> advance()
2016-08-06 11:50:17 +09:00
Paul Masurel
bc54db6872
Explanation as a struct
2016-08-06 11:17:05 +09:00
Paul Masurel
140f6fd2b4
explanation kind of working in an ugly way.
2016-08-05 12:02:13 +09:00
Paul Masurel
86f105bd7a
Added serve command
2016-08-04 10:16:24 +09:00
Paul Masurel
66ebbae85a
No influence from starting and trailing spaces.
2016-08-04 00:53:24 +09:00
Paul Masurel
87659987d8
add more test to query parser
2016-08-03 22:31:40 +09:00
Paul Masurel
90132121c9
Added unit test for query parser. More stuff in terms.
2016-08-03 22:15:31 +09:00
Paul Masurel
4acc6f673d
Lighter HeapItem by putting term freq aside, and keeping ord as u32
2016-08-03 11:29:15 +09:00
Paul Masurel
b1056b6455
Added bench cli
2016-08-02 10:21:28 +09:00
Paul Masurel
f94efcf5aa
More than one default field in query parser. fst version to 1.3.1.
2016-08-01 09:22:01 +09:00
Paul Masurel
090973ff16
Added field norms.
2016-07-31 22:01:54 +09:00
Paul Masurel
04556c454a
added top collector
2016-07-29 16:20:57 +09:00
Paul Masurel
4e4937ebb6
Query parser.
2016-07-28 21:29:27 +09:00
Paul Masurel
5f64e1ec9c
added a simple query parser
2016-07-28 17:48:43 +09:00