lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivani Sawhney" <shiv...@netedgecomputing.com>
Subject RE: Asserting that a value must match the entire content of a field
Date Mon, 12 Jun 2006 06:04:04 GMT
Are you saying that there is no out-of-the-box way of doing this...?
Can I not check the content length somehow? As in, mention that the length
of the value (to be matched) must match the length of the field value...

-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com] 
Sent: Monday, June 12, 2006 11:10 AM
To: java-user@lucene.apache.org
Subject: Re: Asserting that a value must match the entire content of a field

One (ugly) way might be to insert artificial begin/end markers at both index
and search time.

Otis

----- Original Message ----
From: Shivani Sawhney <shivani@netedgecomputing.com>
To: java-user@lucene.apache.org
Sent: Monday, June 12, 2006 12:30:57 AM
Subject: Asserting that a value must match the entire content of a field

Hi,

I have a small query here.

 

How do I do an exact match on the value of a field and also assert that the
value must match the entire content of that field?

For E.g., I want that only the documents with 'Product Lifecycle' as the
value of a given field must be selected and even documents with 'Product
Lifecycle Management' as the field value must not be selected.

 

Thanks in Advance.

 

Shivani

 

 

 





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





---------------------------------------------------------------------
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