Re: Auto Slop

2007-07-06 Thread Grant Ingersoll
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,

Auto Slop

2007-07-03 Thread Walt Stoneburner
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

Auto Slop

2007-07-02 Thread Walt Stoneburner
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

Re: Auto Slop

2007-07-02 Thread Mark Miller
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

RE: Auto Slop

2007-07-02 Thread Ard Schrijvers
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

Reusing Document Objects (was Auto Slop)

2007-07-02 Thread Walt Stoneburner
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