EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 3:18 PM
To: java-user@lucene.apache.org
Subject: Re: search a subdirectory (New to Lucene)
I presume by saying "subdirectory" you're referring to filesystem
directories and you're indexing a directory tree of files. If you
I presume by saying "subdirectory" you're referring to filesystem
directories and you're indexing a directory tree of files. If you
index the path (perhaps relative from the root is best) as a keyword
field (untokenized, but indexed) you could perform filtering on a /
path/subpath sort of
I'm new to Lucene and was wondering what is the best way to perform a search on
a subdirectory or subdirectories within the index? My thought at this point is
to build a query to first search for files in the required directory(ies) and
then use that query to make a QueryFilter and use that Que