lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandyg <gaddamsande...@gmail.com>
Subject Re: Multi keyword match
Date Mon, 16 Jun 2008 07:43:57 GMT

Hi,
Thnx for the help.But its not fullfilled my requirement.
for example  my record is like    id=121 ,name=sandy and desg=professional.
Actually here default keyword is id
If i do search like       id:"121" and name:"sandy"                   it
gives the result
 But when i search     name:"sandy" and desg:"professional"    it gives no
result.

So it is searching based on default feild only not on remaining conditions.
Please if u find any solution for this forward it to me.



Erick Erickson wrote:
> 
> Have you looked at:
> 
> http://lucene.apache.org/java/docs/queryparsersyntax.html
> 
> ??
> 
> Best
> Erick
> 
> On Fri, Jun 13, 2008 at 10:01 AM, sandyg <gaddamsandeeps@gmail.com> wrote:
> 
>>
>> Hi guys ,
>> I need ur help.
>>  I am working with lucene engine its very good.
>> but I had some problem.
>> like my document contains feilds like id , name , desg
>> i need to search "  id=1 and name=sandy and desg = manager "  where i
>> need
>> documents which satisfies  three conditions
>> please help me if you have idea
>> --
>> View this message in context:
>> http://www.nabble.com/Multi-keyword-match-tp17824134p17824134.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
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Multi-keyword-match-tp17824134p17859500.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


Mime
View raw message