Hi Darren,

Check out SpanFirstQuery and SpanRegexQuery:

<http://lucene.apache.org/java/2_3_1/api/org/apache/lucene/search/spans/SpanFirstQuery.html>

<http://lucene.apache.org/java/2_3_1/api/org/apache/lucene/search/regex/SpanRegexQuery.html>

Steve

On 03/16/2008 at 8:55 PM, Darren Govoni wrote:
> Hi,
>   I want to do a query such as
> 
> word: first*
> 
> where I want 'first' to be the start of the string value
> contained in the word field and not somewhere inside it.
> What's the best way to do this?
> 
> thanks for any tips,
> Darren
>

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to