thanks for the tip.

I don't see a way to integrate the QueryWrapperFilter (or any Filter) into
SpanTermQuery.getSpans(indexReader) however.
I can use a SpanQuery with an IndexSearcher as per susual but that leaves me
back where I started.  Any thoughts?

Also,  I will need to sort these results by date so that the most recent,
say 5 are returned...

thanks again,

C>T>

On Thu, Sep 24, 2009 at 3:22 PM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> : But alas, I cannot seem to get access to any TermPositions from my above
> : BooleanQuery.
>
> I would suggest refactoring your "date" restriction into a Filter (there's
> fairly easy to use Filter that wraps a Query) and then execute a
> SPanTermQuery just as you describe.
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>


-- 
TH!NKMAP

Christopher Tignor | Senior Software Architect
155 Spring Street NY, NY 10012
p.212-285-8600 x385 f.212-285-8999

Reply via email to