Commit Graph

48 Commits

Author SHA1 Message Date
Paul Masurel 10f6c07c53 Clippy (#422)
* Cargo Format
* Clippy
2018-09-15 20:20:22 +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 82d25b8397 Fixing snippet example 2018-09-13 12:39:42 +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 a78f4cca37 Merge branch 'issue/368' into issue/368b 2018-09-09 16:04:20 +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 f570fe37d4 small changes 2018-08-31 09:03:44 +09:00
Paul Masurel a12d211330 Extracting terms matching query in the document 2018-08-30 09:23:34 +09:00
Paul Masurel 3a8e524f77 Added example to show how to access the inverted list directly 2018-08-21 09:36:13 +09:00
Paul Masurel c0641c2b47 Remove generate html script. It moved to tantivy-search.github.io 2018-08-21 08:26:46 +09:00
Dru Sellers cc50bdb06a Add a basic faceted search example (#383)
* Add a basic faceted search example

* quieting the compiler
2018-08-19 08:07:54 +09:00
Dru Sellers 674524ba91 Add an example of using the stopwords filter (#377) 2018-08-17 12:52:21 +09:00
Paul Masurel 60a9a7f837 Added example showing how to delete/update documents 2018-08-17 09:43:55 +09:00
Paul Masurel 5b5c706581 Simplified examples 2018-08-16 22:38:39 +09:00
Dru Sellers 2b8f02764b Standardizes the Index::create_* APIs (#317)
* Pull all creation methods next to each other

The goal here is to make it clear which methods are performing the
same function, and to assist with standardizing the API calls.

* Make `from_directory` private

This seems to be an internal function, so lets make it internal.

* Rename `create` to `create_in_dir`

This lets the name match the `create_in_ram` pattern and opens up
`create` for the generic implementation.

* Implement the generic create function

All of the create methods now delegate to the common create function
and future `create_in_*` functions now have a clear pattern
to follow as well
2018-06-14 11:08:42 +09:00
Paul Masurel 9a0b7f9855 Rustfmt 2018-05-07 19:50:35 -07:00
Dru Sellers ca74c14647 Simple Implementation of NGram Tokenizer (#278)
* Simple Implementation of NGram Tokenizer

It does not yet support edges
It could probably be better in many "rusty" ways
But the test is passing, so I'll call this a good stopping point for
the day.

* Remove Ngram from manager. Too many variations

* Basic configuration model

Should the extensive tests exist here?

* Add Sample to provide an End to End testing

* Basic Edgegram support

* cleanup

* code feedback

* More code review feedback processed
2018-05-06 09:47:49 -07:00
Paul Masurel 78673172d0 Cargo fmt 2018-04-21 20:05:36 +09:00
Paul Masurel ef109927b3 rustfmt 2018-01-04 12:08:34 +09:00
Paul Masurel 9e132b7dde NOBUG QueryParser does not need to be mut. Code cleanup 2017-12-16 15:43:35 +09:00
Paul Masurel 8b1b389a76 NOBUG Clippy 2017-12-14 19:25:12 +09:00
Paul Masurel 974c321153 cargo fmt 2017-11-26 11:02:02 +09:00
Paul Masurel bb41ae76f9 Closes #224. Fixes documentation about STORED in the example. 2017-11-16 08:16:17 +09:00
Paul Masurel 3588ca0561 Integrated with the merge branch 2017-09-09 15:27:19 +09:00
Paul Masurel f8710bd4b0 Format 2017-08-28 18:22:41 +09:00
Paul Masurel b05b5f5487 issue/191 Added an analyzer manager. 2017-06-20 10:02:26 +09:00
Paul Masurel e120e3b7aa issue/191 Added proper analyzer 2017-06-07 23:21:36 +09:00
Laurentiu Nicola 3dde748b25 Make rustfmt happy 2017-05-16 00:49:05 +03:00
Laurentiu Nicola b2beac1203 Check the result of wait_merging_threads 2017-05-15 08:00:25 +09:00
Laurentiu Nicola e04f2f0b08 issue/148 Wait for the index writer threads to shut down in simple_search 2017-05-14 16:35:24 +03:00
Ashley Mannix 2c798e3147 Replace rustc_serialize with serde 2017-05-07 20:21:22 +03:00
Paul Masurel 50659147d1 NOBUG updated simple_search.html 2017-03-14 12:04:21 +09:00
Claus Matzinger 292dd6dcb6 fixup 2017-03-13 00:24:54 -04:00
Claus Matzinger 37e71f7c63 fixes #100 and improves #99 2017-03-12 22:59:38 -04:00
Paul Masurel 15b60d72cc NOBUG add_document does not return result 2017-02-27 09:36:41 +09:00
Paul Masurel 46a56a4c51 NOBUG Use searcher.search instead of query.search 2016-11-04 16:53:26 +09:00
Paul Masurel 767fa94d18 issue/50 Removed StandardQuery 2016-10-29 17:13:12 +09:00
Paul Masurel 20c089b9f1 bug/4 fixed for clippy 2016-10-16 18:31:29 +09:00
Michael J. Curry d85cfab7a1 minor fixes to grammar and usage in example file 2016-09-29 16:28:10 -04:00
Paul Masurel 15567e0aa3 NOBUG Build failing 2016-09-26 18:23:19 +09:00
Paul Masurel 5a761dbcf0 Added literate programming for the example 2016-09-23 00:23:21 +09:00
Paul Masurel f3a24f5b3c NOBUG Code cleaning , cargo clippy 2016-09-19 17:01:37 +09:00
Paul Masurel 24d2e3f6c1 switching for the stacker datastructure 2016-09-05 10:27:14 +09:00
Paul Masurel 5e806c88ef Issue 20 Searcher pool implemented using a channel.
Operational but not really ready for merge.
2016-08-27 16:15:02 +09:00
Paul Masurel 59150ad802 superficial refactoring 2016-08-26 09:30:09 +09:00
Paul Masurel ce95bfd9a5 Closes #19. Move example to examples directory. 2016-08-24 10:58:08 +09:00