Re: Search within a document

2010-09-14 Thread Pankaj Malhotra
@Suman:Yaa, that's what I needed. Thanks Pankaj On Tue, Sep 14, 2010 at 5:22 PM, wrote: > you can use query filter for that purpose . > > > > Suman > > > On Tue, 14 Sep 2010 17:14:19 +0530, Pankaj Malhotra > wrote: > > Also, if someone could tell how to search across all the fields together >

Search within a document

2010-09-14 Thread Pankaj Malhotra
A newbie's question: From a search, I find a document. Now I want to search a different keyword across various fields *only* in this document. Is this possible? Kindly explain. Regards Pankaj

Re: Search within a document

2010-09-14 Thread suman.holani
you can use query filter for that purpose . Suman On Tue, 14 Sep 2010 17:14:19 +0530, Pankaj Malhotra wrote: > Also, if someone could tell how to search across all the fields together > and > also know which field the search result belong to. Other than using the > "All" field kind of approac

Re: Search within a document

2010-09-14 Thread Pankaj Malhotra
Also, if someone could tell how to search across all the fields together and also know which field the search result belong to. Other than using the "All" field kind of approach. Also using MultiFieldQueryParser doesn't work for me as the number and names of fields keep on changing. Thanks in adva