Sorry. I misunderstood.
As Karsten suggested, perform search for each term and do the logical
operation on the collected hits.
Regards
Ganesh
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 14, 2008 6:20 PM
Subject: Re: Searching sets of documents
Hi Spring,
If I got your question correctly, you want to search for Folders/Docs
depending on the condition, right!
Why don't you index the folder name as well and so you could fire a query
saying
Folder:A and (TEXT:x and TEXT:y)
So here the search would run only on folder A for the keywords.
In
Well, this is what I thought too.
Thank you.
Original-Nachricht
> Datum: Tue, 14 Oct 2008 02:11:53 -0700 (PDT)
> Von: "Karsten F." <[EMAIL PROTECTED]>
> An: java-user@lucene.apache.org
> Betreff: RE: Searching sets of documents
>
> Hi spring,
ds
> Ganesh
>
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, October 14, 2008 2:41 PM
> Subject: Re: Searching sets of documents
>
>
> > The folder name and the document name are stored for each document.
> >
> >
:
Sent: Tuesday, October 14, 2008 2:41 PM
Subject: Re: Searching sets of documents
The folder name and the document name are stored for each document.
Original-Nachricht
Datum: Tue, 14 Oct 2008 14:11:09 +0530
Von: "Ganesh" <[EMAIL PROTECTED]>
An: java-user@lucene.a
The folder name and the document name are stored for each document.
Original-Nachricht
> Datum: Tue, 14 Oct 2008 14:11:09 +0530
> Von: "Ganesh" <[EMAIL PROTECTED]>
> An: java-user@lucene.apache.org
> Betreff: Re: Searching sets of documents
Hi spring,
unit of retrieval in lucene is a document.
There are no joins between document sets like in sql.
What you can do is to collect all hits for each term query on level of
folders and than implement the logical „and“ or „or“ by your own.
For this you could reuse the existing implementation
You should have stored the foldername or fullpath of the file as part of
Lucene document otherwise it is difficult to retrieve.
Regards
Ganesh
- Original Message -
From: "叶双明" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 14, 2008 6:13 AM
Subject: Re: Searching s
l Message-
> > From: ??? [mailto:[EMAIL PROTECTED]
> > Sent: Montag, 13. Oktober 2008 02:28
> > To: java-user@lucene.apache.org
> > Subject: Re: Searching sets of documents
> >
> > all folders which match "A AND Y", do you search for file name?
The docs are already indexed.
> -Original Message-
> From: ??? [mailto:[EMAIL PROTECTED]
> Sent: Montag, 13. Oktober 2008 02:28
> To: java-user@lucene.apache.org
> Subject: Re: Searching sets of documents
>
> all folders which match "A AND Y", do you se
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 <[EMAIL PROTECTED]>
> Hi,
>
> I want to search for sets
11 matches
Mail list logo