lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: Search by first term in field.
Date Fri, 16 May 2008 16:36:49 GMT
Hi palexv,

SpanFirstQuery might do what you want:

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

Steve

On 05/16/2008 at 5:32 AM, palexv wrote:
> 
> I have tokenized index. I need to do search to search only by prefix. So
> if I enter "java", then I need to get "java developer", but NOT
> "developed in java". Can I do this using Lucene with tokenized field? --
> View this message in context:
> http://www.nabble.com/Search-by-first-term-in-field.-tp1727087
> 6p17270876.html Sent from the Lucene - General mailing list archive at
> Nabble.com.
> 
>

 


Mime
View raw message