Hi all,
Since you can't (and it doesn't make sense to) use wildcards in phrase
queries, how do you construct a query to get results for phrases that
begin with a certain set of terms? Here are some theoretical
examples...
Example 1 - I have an index where each document contains the content
> Since you can't (and it doesn't make sense to) use
> wildcards in phrase
> queries, how do you construct a query to get results for
> phrases that begin with a certain set of terms?
> Here are some theoretical examples...
>
>
> Example 1 - I have an index where each document contains
> the co
Since you can't (and it doesn't make sense to) use wildcards in phrase
queries,
You can with this:
http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/misc/src/java/org/apache/lucene/queryParser/complexPhrase/
Discussion here: http://tinyurl.com/lrnage
Cheers,
Mark