Re: bug in search with sloppy queries

2015-06-15 Thread Dmitry Kan
Digging into the code, I see this: [code] public SpanWeight(SpanQuery query, IndexSearcher searcher) throws IOException { this.similarity = searcher.getSimilarity(); this.query = query; termContexts = new HashMap<>(); TreeSet terms = new TreeSet<>(); query.extractTerms(ter

Re: bug in search with sloppy queries

2015-06-15 Thread Dmitry Kan
To clarify additionally: we use StandardTokenizer & StandardFilter in front of the WDF. Already following ST's transformations e-tail gets split into two consecutive tokens On Mon, Jun 15, 2015 at 10:08 AM, Dmitry Kan wrote: > Thanks, Erick. Analysis page shows the positions are growing=> there

Re: bug in search with sloppy queries

2015-06-15 Thread Dmitry Kan
Thanks, Erick. Analysis page shows the positions are growing=> there are no "glued" words on the same position. On Sun, Jun 14, 2015 at 6:10 PM, Erick Erickson wrote: > My guess is that you have WordDelimiterFilterFactory in your > analysis chain with parameters that break up E-Tail to both "e"

Re: bug in search with sloppy queries

2015-06-14 Thread Erick Erickson
My guess is that you have WordDelimiterFilterFactory in your analysis chain with parameters that break up E-Tail to both "e" and "tail" _and_ put them in the same position. This assumes that the result fragment you pasted is incomplete and "commerce" is in it >From E-Tail commerce or some such. T