: How do you create a Lucene Filter to check if a field has a value? It is
: part for a ChainedFilter that I am creating.
take a look at RangeFilter ... you want a RangeFilter on your field
name where the upper and lower bounds are both null.
-Hoss
How do you create a Lucene Filter to check if a field has a value? It is
part for a ChainedFilter that I am creating.
--
View this message in context:
http://www.nabble.com/Lucene-Filtering-tp22868930p22868930.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
Sure, but you have to make it happen. The most straight-forward thing I
can think of is to index (probably UN_TOKENIZED) the
path to the file in a new field when you index the contents.
Then you can easily restrict things however you want by
including an AND clause with the path fragment you wish
th used in the query.
Kind regards,
Daan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 8:00
To: java-user@lucene.apache.org
Subject: Query regarding usage of Lucene(Filtering folder)
Hi All,
I had a query regarding usage of
Hi All,
I had a query regarding usage of lucene.
I have done the indexing for the files kept in root folder ->
subfolder-> Subfolder structure.
When I make the search with particular word it returns me the list of
matching files across the folder structure right from root to the last
subfolde
Hi
I would like to join java-user mailing list.
I had a query regarding usage of lucene.
I have done the indexing for the files kept in root folder -> subfolder
-> subfolder structure.
When I make the search with particular word it returns me the list of
matching files across the f