lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Why Lucene phrase searching fail?
Date Mon, 27 Apr 2009 11:24:44 GMT
Another possible factor, if you are using omitTf feature, it causes 
phrase query doesn't work.

Koji

Ian Lea wrote:
> What does query.toString() say?  Are you using standard analyzers with
> standard lowercasing, stop words etc?
>
> Knocking up a very simple program/index that demonstrates the problem
> usually helps: either it will work and help you spot the problem with
> your existing code, or if you post it here someone will spot the
> problem.
>
>
> --
> Ian.
>
>
> On Mon, Apr 27, 2009 at 11:31 AM, blazingwolf7 <blazingwolf7@gmail.com> wrote:
>   
>> hi,
>>
>> I am trying to perform a search using Lucene. The keyword : "national india"
>> This phrase exists inside the content. I try searching it using Lucene and
>> it fail to return any results. Then I try to search it using Luke, with the
>> quotes and it also fail to return results.
>>
>> Why is that happening? Can anyone advise me on this?
>> --
>> View this message in context: http://www.nabble.com/Why-Lucene-phrase-searching-fail--tp23253549p23253549.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>   


---------------------------------------------------------------------
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