Hi,
I am using SolrJ and firing the query on Solr indexes. The indexed contains 
three fields viz.
1.       Document_id (type=integer required= true)
2.       Ticket Id (type= integer)
3.       Content (type=text)
 
Here the query formulation is such that I am having query with “AND” clause. So 
the query, that I am firing on index files look like  “Content: search query 
AND Ticket_id:123 Ticket_Id:789)”.
Here I am using the AND clause  which make my job easy through which I retrieve 
the document  having the query words in the “Content” field and the document is 
having Ticket_id field(123). 
 
I know this type of query is easily fired on lucene indexes. But when I am 
firing the above query I  am not getting the required result . The result 
contains the document which does not belongs to the ticket id mentioned in the 
query.
Please can anyone help me out of this issue.
 
Thanks in advance.
 
Regards,
Sagar Khetkade
_________________________________________________________________
Windows Live Messenger. Multitasking at its finest.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx

Reply via email to