lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "叶双明" <yeshuangm...@gmail.com>
Subject Re: Searching sets of documents
Date Mon, 13 Oct 2008 00:27:54 GMT
all folders which match "A AND Y", do you search for file name?
If yes, A or Y in "A AND Y" is a Strring too, so you can do it by:
construct a Lucene Document for each folder, and name of files under the
folder is the search data.

2008/10/13 <spring@gmx.eu>

> Hi,
>
> I want to search for sets of documents. For instance I index some folders
> with documents in it and now I do not want to find certain documents but
> folders.
>
> Sample:
>
> folder A
>  doc 1, contains X, Y
>  doc 2, contains Y, Z
>
> folder B
>  doc 3, contains X, Y
>  doc 4, contains A, Z
>
> Now I want to find all folders which match "A AND Y" -> folder B.
>
> How can this be done?
>
> Thank you
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
Sorry for my English!! 明
Please help me correct my English expression and error in syntax
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message