Start by expressing the specific semantics of those queries in strict boolean form. I mean, what exactly do you mean by "in", and "location1, location 2", and "location1, loc2 and loc3? Is the latter an AND or an OR?

Or at least fully express those two queries, unambiguously in plain English. There is too much ambiguity present to give you any solid direction.

-- Jack Krupansky

-----Original Message----- From: Abhishek tiwari
Sent: Wednesday, January 30, 2013 12:55 AM
To: solr-user@lucene.apache.org
Subject: help to build query

want to execute queries like :
a)  cat in location1 , location2
b)  cat 1 and cat2 in location1 ,loc2 and  loc3

in our search .

our challenges :

1)  picking right keywords(category and locality) from query entered.
2)  its mapping to relevant entity

How should i proceed for it .

we have localities and categories data indexed .

thanks in advance.

~abhishek

Reply via email to