lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "WATHELET Thomas" <thomas.wathe...@europarl.europa.eu>
Subject RE: Query?
Date Tue, 11 Jul 2006 13:58:58 GMT
I have an index with this field:
stored/uncompressed,indexed,tokenized<docnumber:SEC(2006) 0350>.
I'm using RangeQuery to query the index:	TermQuery termQuery =
new TermQuery(new Term("docnumber", "SEC(2006) 0350"));
	
combinedQueries.add(termQuery, MUST);

The query that I send is:
SEC(2006) 0350

The resulting query that Lucene produces : 
+docnumber:SEC\(2006\) 0350

I'm using the class simpleanalyser for the search.

And I have no result but this data SEC(2006) 0350 is present in the
index "docnumber field"

Thank's in advence

Wathelet
Thomas

-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: 11 July 2006 15:37
To: java-user@lucene.apache.org
Subject: Re: Query?

Could you provide a bit more information? What's important or not about
this
query? And how does that import relate to what you've indexed?

In other words, what do you *want* it to mean?

Best
Erick



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message