lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: recovering terms hit from wildcard queries
Date Wed, 18 Nov 2009 22:16:43 GMT
You could use WildcardTermEnum directly and pass your term and the
reader to it. This will allow you to enumerate all terms that match
your wildcard term.
Is that what are you asking for?

simon

On Wed, Nov 18, 2009 at 10:39 PM, Christopher Tignor
<ctignor@thinkmap.com> wrote:
> Hello,
>
> Firstly, thanks for all the good answers and support form this mailing list.
>
> Would it be possible and if so, what would be the best way to recover the
> terms filled in for a wildcard query following a successful search?
>
> For example:
> If I parse and execute a query using the string "my*" and get a collection
> of document ids that match this search,
> is there a good way to determine whether this query found "myopic", "mylar"
> or some other term without loading/searching the returned documents?
>
> thanks!
>
> C>T>
>
> --
> TH!NKMAP
>
> Christopher Tignor | Senior Software Architect
> 155 Spring Street NY, NY 10012
> p.212-285-8600 x385 f.212-285-8999
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message