* add ascii folding support
* Minor change and added Changelog.
* add additional tests
* Add tests for ascii folding (#533)
* first tests for ascii folding
* use a `RawTokenizer` for tokens using punctuation
* add test for all (?) folding, inspired by Lucene
* Simplification of the unit test code
Added stamper.revert method to be used for rollback - rolling back to a previous
commit in case of deleting all documents or rolling operations back should reset
the stamper as well
Added type alias for Opstamp - helps code readibility instead of seeing u64
returned by functions.
Moved to AtomicU64 on stable rust (since 1.34) - where possible use standard
library interfaces.
* Clippy comments
Clippy complaints that about the cast of &[u32] to a *const __m128i,
because of the lack of alignment constraints.
This commit passes the OutputBuffer object (which enforces proper
alignment) instead of `&[u32]`.
* Clippy. Block alignment
* Code simplification
* Added comment. Code simplification
* Removed the extraneous freq block len hack.
Clippy complaints that about the cast of &[u32] to a *const __m128i,
because of the lack of alignment constraints.
This commit passes the OutputBuffer object (which enforces proper
alignment) instead of `&[u32]`.
* initial version, still a work in progress
* remove redudant or
* add chrono::DateTime and index i64
* add more tests
* fix tests
* pass DateTime by ptr
* remove println!
* document query_parser rfc 3339 date support
* added some more docs about implementation to schema.rs
* enforce DateTime is UTC, and re-export chrono
* added DateField to changelog
* fixed conflict
* use INDEXED instead of INT_INDEXED for date fields
* Format
Made the docstring consistent
remove empty line
* Move matches to dev deps
* Replace MsQueue with an unbounded crossbeam-channel
Questions:
queue.push ignores Result return
How to test pop() calls, if they block
* Format
Made the docstring consistent
remove empty line
* Unwrap the Result of queue.pop
* Addressed Paul's review
wrap the Result-returning send call with expect()
implemented the test not to fail after popping from empty queue
removed references to the Michael-Scott Queue
formatted
* [WIP] added UserOperation enum, added IndexWriter.run, and added MultiStamp
* removed MultiStamp in favor of std::ops::Range
* changed IndexWriter::run to return u64, Stamper::stamps to return a Range, added tests, and added docs
* changed delete_cursor skipping to use first operation's opstamp vice last. change index_writer test to use 1 thread
* added test for order batch of operations
* added a test comment
* Moving lock to directory/
* added fs2
* doc
* Using fs2 for locking
* Added unit test
* Fixed error message related unit test
* Fixing location of import
* Closes 471
Removing writing_segments in the segment manager as it is now useless.
Removing the target merged segment id as it is useless as well.
* RAII for tracking which segment is in merge.
Closes#471
* fmt
* Using Inventory::default().
* add unit test
* improved test
* added SegmentManager#remove_empty_segments
* update old tests for new behaviour
* cleaner filter for empty segments
* PR adjustments
* rename x in closures
* simplify assert_eq!(vec.len(), 0)
* wait_merging_threads
* acquire searchers
* add comments to test
* rebased on latest master
* harden test
* fix merger#test_merge_multivalued_int_fields_all_deleted test