All,
Apologies if I missed this in the documentation, but should:
FuzzyQuery q = new FuzzyQuery(new Term("field", "ab"), 2)
retrieve a document that contains:
abcd
and vice versa.
Same question for: xy~1 and a document that contains "x".
Will submit test case if this is not a known issue or
I've now managed to add words into the spell checker index (i.e. not just
the F_WORD field), unfortunately it is a dirty hack...which wouldn't have
been necessasry if those private methods were made protected.
Next problem...
Deleting words:
1) (a) create index (b) add word (c) delete word = SUC
Okay, I found what I wanted, thanks to Steve Rowe's reply. There's no
contrib jar as such. There are different components in contrib such as
analyzers or highlighter and each one of them have a JAR.
Thanks,
Abhinav
On 09/10/2013 07:31 PM, Abhinav M Kulkarni wrote:
Hi,
This is probably a very
Hi Abhinav,
There never has been a lucene-contrib jar - instead, each so-called contrib (as
of v4.0, these are instead referred to as modules) is packaged as its own jar.
Is there some contrib/module/feature/class in particular you're looking for?
Steve
On Sep 10, 2013, at 10:31 PM, Abhinav
If you want to stick with the approach of multiple indexes you'll have
to add some logic to work round it.
Option 1.
Post merge, loop through all docs identifying duplicates and deleting
the one(s) you don't want.
Option 2.
Pre merge, read all indexes in parallel, identifying and deleting as a
Hi,
I have written a custom Tokenizer which will split my input text into
tokens, i have overridden the incrementToken method and setting
chartermAttribute, offsetAttribute, typeAttribute (Please find the method
below..)
@Override
final public boolean incrementToken() throws IOException {
Hello
Have a peculiar problem to deal with and I am sure there must be some
way to handle it.
1. Indexes exist on the server for existing files.
2. Generating indexing is automated so files when generated will also
lead to index generation.
3. I am merging the newly generated indexes and exi