Le dimanche 25 février 2007 12:35, Laxmilal Menaria a écrit :
> Hi, i think you will use MultiSearcher and create a field and Value array
> for that, that will solve your problem..
I don't know what was your issue Laxmilal, but Ruchika just need a simple
query : "+name:bob +subject:maths".
Nicol
Hi, i think you will use MultiSearcher and create a field and Value array
for that, that will solve your problem..
thanks
On 2/25/07, ruchi thakur <[EMAIL PROTECTED]> wrote:
Hello,
I am new to Lucene.
I have a document with 3 fields - name,subject,rollno
I want to search on the 2 field name
On Jun 22, 2005, at 2:02 PM, George Abraham wrote:
Erik,
That worked like a charm. It seems to me that reading up on the
different analyzers would solve a lot of questions in my mind.
It would solve a lot of folks questions! I find the analysis part of
Lucene fascinating. The really inter
Erik,
That worked like a charm. It seems to me that reading up on the
different analyzers would solve a lot of questions in my mind.
Unfortunately your book has not arrived yet from Amazon. Aarrgh!
Thanks a ton!
George
> Your analyzer is eating the ImageExistsBit:1 because "1" returns no
> tokens
On Jun 22, 2005, at 1:24 PM, George Abraham wrote:
Otis,
I think MultiFieldQueryParser (if I am not mistaken) uses the same
query string to search multiple fields. Let me know if it is
otherwise.
Erik,
Let me see if I can answer those questions. Here are some code
snippets, by the way.
FOR INDE
Otis,
I think MultiFieldQueryParser (if I am not mistaken) uses the same
query string to search multiple fields. Let me know if it is
otherwise.
Erik,
Let me see if I can answer those questions. Here are some code
snippets, by the way.
FOR INDEX
IndexWriter writer = new IndexWriter(indexDir, new
George,
You can use MultiFieldQueryParser instead of QueryParser.
Otis
--- George Abraham <[EMAIL PROTECTED]> wrote:
> All,
> Forgive me for the basic question. When you are querying multiple
> fields using QueryParser, what is the exact code?
>
> I tried QueryParser.parse(queryString, "Searc
On Jun 22, 2005, at 10:49 AM, George Abraham wrote:
All,
Forgive me for the basic question. When you are querying multiple
fields using QueryParser, what is the exact code?
I tried QueryParser.parse(queryString, "SearchTerms", analyzer) where
queryString was "SearchTerms:visnu temple ImageExis