FYI: Solr has a nice Analysis debugging tool that lets you see the
results of running an analysis as it passes through each phase of the
Analyzer. Some enterprising soul might want to make a contribution
along these lines that could be added to the contrib. :-)
Cheers,
Grant
On Jul 3,
I've solved the problem, thanks to tips from Mark Miller and Ard
Schrijvers, and am simply recording it so that someone else walking
through the archives might get some benefit.
A while ago I had been working on a case-sensitive version of Lucene,
where with a prefix symbol, it was possible to
I just ran into an interesting problem today, and wanted to know if it
was my understanding or Lucene that was out of whack -- right now I'm
leaning toward a fault between the chair and the keyboard.
I attempted to do a simple phrase query using the StandardAnalyzer:
United States
Against my
Examine your indexes and analyzers. The default slop is 0, which means
allow 0 terms between the terms in the phrase. That would be an exact
match. A slop of 1 is not the default and would allow a term movement of
one position to match the phrase.
- Mark
Walt Stoneburner wrote:
I just ran
I just ran into an interesting problem today, and wanted to know if it
was my understanding or Lucene that was out of whack -- right now I'm
leaning toward a fault between the chair and the keyboard.
I attempted to do a simple phrase query using the StandardAnalyzer:
United States
And you
If I create a Document object, can I pass it to multiple index writers
without harm?
Or, does the process of being handed to an Index Writer somehow mutate the
state of the Document object, say during tokenizing, that would cause it's
re-use with a totally separate index to cause problems