Re: TermRangeQuery with Proximity

2015-12-09 Thread Henri Hein
Uwe, Thanks, that worked. SpanNearQuery even has the ordering flag, which I also needed. I'm not seeing a big performance slowdown on my quick little test index, but I'll try with a bigger one and see what kind of running times I'm looking at. Timothy: thanks for the pointer, we will probably n

RE: TermRangeQuery with Proximity

2015-12-08 Thread Allison, Timothy B.
ssage- From: Uwe Schindler [mailto:u...@thetaphi.de] Sent: Tuesday, December 08, 2015 9:08 AM To: java-user@lucene.apache.org Subject: RE: TermRangeQuery with Proximity You can create a generalization of PheaseQueries, called SpanNearQueries. Those can have any other SpanQuery inst

RE: TermRangeQuery with Proximity

2015-12-08 Thread Uwe Schindler
You can create a generalization of PheaseQueries, called SpanNearQueries. Those can have any other SpanQuery instances as childs, e.g. SpanTermQuery and SpanMultiTermQueryWrapper instances. As RangeQueries or Wildcards are internally subclasses of MultiTermQuery, you can use them wrapped in com