Re: Problem on query syntax

2005-05-19 Thread Chris Hostetter
: When I search "hotliner:such" I get a 0 result. ("such" gets the same) : But when I search "hotliner:such*", I get the 277 expected results! Check your analyzer. Wildcard queries are not analized by the query parser, but term queries are ... so maybe the analyzer you are using at query time is

Re: Boolean Query - TooManyClauses Exception

2005-05-19 Thread Daniel Naber
On Thursday 19 May 2005 14:39, Jayakumar.V wrote: > I'm getting a TooManyClauses Exception when I try to query for a > particular date range. See http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-06fafb5d19e786a50fb3dfb8821a6af9f37aa831 -- http://www.danielnaber.de -

Re: Retrieve all terms

2005-05-19 Thread Chris Hostetter
: > > Then, I want to retrieve all terms from the contents field, but : > > only the ones from the documents matching the language=en. I think what you want is to... 1) open an IndexReader r. 2) create a QueryFilter q wrapping a TermQuery for language:en 3) BitSet en = q.bits(r); 4) open a TermE

FW: Boolean Query - TooManyClauses Exception

2005-05-19 Thread Jayakumar.V
Hi, Further to the below, if I remove the RangeQuery, it works beautifully. :-( Any pointers to where the issue is ? jayakumar.v _ From: Jayakumar.V [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 16:40 PM To: 'java-user@lucene.apache.org' Subject: Boolean Query - TooMa

Boolean Query - TooManyClauses Exception

2005-05-19 Thread Jayakumar.V
Hi, I'm getting a TooManyClauses Exception when I try to query for a particular date range. I've around 4 million documents with 21 fields each. The fields to search into are determined by the user - it can be field F1 or F2 or both. Also there is a date range within which the results need t

Problem on query syntax

2005-05-19 Thread JM Tinghir
Hi Lucene community, I'm facing a strange problem, that you'll probably understand as I'm only a newbie to Lucene. When I search "hotliner:such" I get a 0 result. ("such" gets the same) But when I search "hotliner:such*", I get the 277 expected results! Why is the first query not working? Thanks

Re: Retrieve all terms

2005-05-19 Thread Andy Roberts
On Thursday 19 May 2005 06:53, Morus Walter wrote: > I think he doesn't want the contents but a term list for these contents. > Something like > 1 1 > 4 1 > content 2 > document 2 > for his sample, where the number is the fequency of the term. > > I don't think that you can ea

Re: Retrieve all terms

2005-05-19 Thread Morus Walter
Bill Tschumy writes: > > On May 18, 2005, at 9:54 AM, Albert Vila wrote: > > > Hi all, > > > > I need to retrieve all terms from an specified field filtered for > > another field. For example, > > > > Document 1 -> > > > > > > Document 2 -> > >