Re: BooleanQuery TooManyClauses in wildcard search

2007-12-02 Thread Ruchi Thakur
Erickson <[EMAIL PROTECTED]> wrote: See below: On Dec 1, 2007 1:16 AM, Ruchi Thakur wrote: > > Erick/John, thank you so much for the reply. I have gone through the > mailing list u have redirected me to. I know i need to read more, but some > quick questions. Please bear with me

Re: BooleanQuery TooManyClauses in wildcard search

2007-11-30 Thread Ruchi Thakur
ghtly/javadoc/core/index.html > for mroe info. > > Bear in mind that putting a wildcard near the start of the term results > in a large number of boolean clauses, which increases memory usage. This > is the reason for the default limit. This limit will also affect fuzzy > queri

BooleanQuery TooManyClauses in wildcard search

2007-11-30 Thread Ruchi Thakur
Hi there. I am a new Lucene user and I have been searching the group archives but couldn't solve the problem. I have just joined a project that uses Lucene. We use the StandardAnalyzer for indexing our documents and our query is as follows when we issue a search string oft* for exa

Re: character like &,+,.. getting ignored in search

2007-03-16 Thread ruchi thakur
ex? Did you try using Luke to see how the queries parsed under various analyzers? I suspect you'd get your answers much faster if you tried this first. Erick On 3/16/07, ruchi thakur <[EMAIL PROTECTED]> wrote: > > Hi all, > I am using StopAnalzer for indexing and searching. Am sea

character like &,+,.. getting ignored in search

2007-03-16 Thread ruchi thakur
Hi all, I am using StopAnalzer for indexing and searching. Am searching for phrases. q1 -> "a b" this query gives me all documents conatining a b , but also gives documents conatining a & b again q2 -> "a & b" this query q2 gives documents conatining a & b, but also gives documents conatining a

Re: Query String for a phrase?

2007-03-16 Thread ruchi thakur
Thanks a lot for your help. I am now using query as documented for phrase. Regards, Ruchi On 3/13/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : ok, so does that mean i can use both q1 and q2 for phrase query ie; for : searching words adjacent to each other. Actually that was my only concern

Re: search for phrase with specail chars?

2007-03-12 Thread ruchi thakur
a phrase, which is causing the issue. But i dont understand why because i am escaping it, before i send it to lucene Regards, On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote: 12 mar 2007 kl. 08.24 skrev ruchi thakur: > yes that is exactly what i am doing > in java String i h

Re: search for phrase with specail chars?

2007-03-11 Thread ruchi thakur
oes to lucene is actually "„innere Organe\" bezeichnet" Should i send something else.. Regards, Ruchika On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote: 12 mar 2007 kl. 07.53 skrev ruchi thakur: > no, i just get the folowing > org.apache.lucene.queryParser.

Re: search for phrase with specail chars?

2007-03-11 Thread ruchi thakur
no, i just get the folowing org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 30. Encountered: after : "" On 3/12/07, karl wettin <[EMAIL PROTECTED]> wrote: 12 mar 2007 kl. 07.44 skrev ruchi thakur: > I want to search for phrase „innere

Re: search for phrase with specail chars?

2007-03-11 Thread ruchi thakur
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 30. Encountered: after : "" On 3/12/07, ruchi thakur <[EMAIL PROTECTED]> wrote: I want to search for phrase „innere Organe" bezeichnet am using query q1 = "„innere Organe\"

search for phrase with specail chars?

2007-03-11 Thread ruchi thakur
I want to search for phrase „innere Organe" bezeichnet am using query q1 = "„innere Organe\" bezeichnet" is there any issue with q1 am getting Exception in retrieveQuery().IndexDirec:Lexical error at line 1, column 30. Encountered: after : "" Regards, Ruchika

Re: Query String for a phrase?

2007-03-11 Thread ruchi thakur
22:58, ruchi thakur wrote: > Thanks a lot for your help.. > below is a snapshot from the code, am using for search > org.apache.lucene.analysis.StopAnalyzer sa = new > org.apache.lucene.analysis.StopAnalyzer(); > org.apache.lucene.analysis.Analyzer analyzer = sa; > QueryParser

Re: Query String for a phrase?

2007-03-11 Thread ruchi thakur
ted.. Regards, Reena On 3/11/07, Doron Cohen <[EMAIL PROTECTED]> wrote: "ruchi thakur" <[EMAIL PROTECTED]> wrote on 11/03/2007 04:36:39: > So just wanted to make sure if > > jakarta&apache -> jakarta apache > like > "jakarta apache" ->

ensuring search String availability in the content returned by lucene

2007-03-11 Thread ruchi thakur
Am using lucene search. I have a field as "summary" in my Document, which is having large amount of content/data. In each search i want to get not more than 200 words from the field "summary". Now i want that in the 200 words that i get, there should be search String available. If this possible in

Re: Query String for a phrase?

2007-03-11 Thread ruchi thakur
arta apache like "jakarta apache" -> jakarta apache ie; jakarta&apache seaches for phrase jakarta apache Regards, Ruchi On 3/11/07, Doron Cohen <[EMAIL PROTECTED]> wrote: "ruchi thakur" <[EMAIL PROTECTED]> wrote on 10/03/2007 19:32:14: > does that m

Re: Query String for a phrase?

2007-03-10 Thread ruchi thakur
EMAIL PROTECTED]> wrote: Most likely the string jakarta&apache is analyzed as a single word, both at indexing time and at search time. See also "AnalysisParalysis" in Lucene Wiki. "ruchi thakur" <[EMAIL PROTECTED]> wrote on 07/03/2007 20:39:27: > Thanks Patrick.

Re: Query String for a phrase?

2007-03-07 Thread ruchi thakur
Thanks Patrick. One more question. The info in link says to use the below query for phrase "jakarta apache" . It works fine. But when i run jakarta&apache also, it has the same effect, ie; like a phrase. It works fine too. Though it is working but still am little doubtful as i could n

Query String for a phrase?

2007-03-07 Thread ruchi thakur
Hello, Please suggest what should be the query String for a pharse search. Thanks and Regards, Ruchi

Querying multiple fields in a document

2007-02-24 Thread ruchi thakur
Hello, I am new to Lucene. I have a document with 3 fields - name,subject,rollno I want to search on the 2 field names name and subject ie; i want to search for documents having a particular combination of name and subject, (say all the documents with name as bob and subject as maths) . Would a