lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Christen" <j.chris...@insiders.de>
Subject AW: retrieve all docs efficiently - just one field
Date Wed, 11 Jun 2008 07:38:59 GMT

That might be a solution in this case, but I have the same kind of problem in another case.
We index documents from an NTFS source. One field is the URI of the document.
After a query has been processed, we perform an access check on the hits to ensure the user
has access rights to open the document. If we have a big result set it takes very long to
retrieve the URIs from all the hits, which we need to perform the access check against the
file system.

Any good solution for this?
I think a fix document ID in lucene would help in this cases a lot. The mapping between lucene
documents and other systems (e.g. Oracle) would be much faster.

	Jo

-----Urspr√ľngliche Nachricht-----
Von: Karl Wettin [mailto:karl.wettin@gmail.com] 
Gesendet: Mittwoch, 11. Juni 2008 01:55
An: java-user@lucene.apache.org
Betreff: Re: retrieve all docs efficiently - just one field


11 jun 2008 kl. 00.35 skrev 1world1love:
>
> We have our lucene index and we want to search the section text for  
> the word
> "panama"
>
> AND
>
> We want to select from the demographics table where age > 50.
> --
>
> Now I need to intersect the master table IDs from my lucene hits and  
> my
> table results.

I might be missing something here -- can't you just add the age field  
to the index and include that in your query?


             karl

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