|
Created an attachment (id=15505)
NGramAnalyzerWrapper (wraps an NGramFilter around an analyzer.) Created an attachment (id=15506)
JUnit TestCase for NGramFilter
The comment should read;
Created an attachment (id=15818)
JUnit test class for NGramAnalyzerWrapper The tests in this class are concerned with the interaction between QueryParser One of the test cases throws an exception that I haven't investigated yet. So ..E.... at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at FAILURES!!!
Jeff Turner made changes - 03/Sep/05 03:29 PM
Sebastian, ever figured out the problem? Also, is there a way to get rid of the Commons Collections? Lucene has no run-time dependencies on other libraries.
Hi Otis,
I did not figure out the problem. Getting rid of Commons Collection should be no problem; I am just using them as FIFOs. However, I do not have the time at the moment to implement this. Kind regards, Sebastian
Grant Ingersoll made changes - 12/Jan/08 10:56 PM
Grant Ingersoll made changes - 12/Jan/08 11:13 PM
Lucene has character NGram support, but not word NGram support, which this filter supplies:
Good catch, Steve. I will reopen, as a word based ngram filter is useful.
Grant Ingersoll made changes - 13/Jan/08 01:33 PM
Repackaged these four files as a patch, with the following modifications to the code:
All tests pass. Although I left in the ShingleAnalyzerWrapper and its test in the patch, no other Lucene filter (AFAICT) has such a filter wrapping facility. My vote is to remove these two files.
Steven Rowe made changes - 14/Jan/08 04:15 AM
Thanks, Steve. I will mark this as 2.4
Grant Ingersoll made changes - 14/Jan/08 12:29 PM
Steven Rowe made changes - 14/Jan/08 06:38 PM
Removed the duplicate link (to
Thanks for bringing this up to date. I'll commit it after 2.3 is out.
Otis Gospodnetic made changes - 14/Jan/08 06:55 PM
ping, Otis, do you still plan to commit?
re-ping, Otis, do you still plan to commit?
Sorry for hogging. Got some local compilation issues with the query builder in contrib, so assigning to Grant to get this in.
Otis Gospodnetic made changes - 25/Mar/08 10:39 PM
Committed revision 642612.
Thanks Sebastian and Steve
Grant Ingersoll made changes - 29/Mar/08 09:09 PM
Michael McCandless made changes - 11/Oct/08 12:49 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
NGramFilter