lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: Storing an ID alongside a document
Date Thu, 03 Feb 2011 08:20:32 GMT
On Thu, Feb 3, 2011 at 3:23 AM, Jason Rutherglen
<jason.rutherglen@gmail.com> wrote:
> Is it?  I thought it would load the values into heap RAM like the
> field cache and in addition save the values to disk?  Does it also
> read the values directly from disk?

there is a entire RAM resident part and a Iterator API that reads /
streams data directly from disk.
look at DocValuesEnum vs, Source

simon
>
> On Wed, Feb 2, 2011 at 2:00 PM, Yonik Seeley <yonik@lucidimagination.com> wrote:
>> That's exactly what the CSF feature is for, right?  (docvalues branch)
>>
>> -Yonik
>> http://lucidimagination.com
>>
>>
>> On Wed, Feb 2, 2011 at 1:03 PM, Jason Rutherglen <jason.rutherglen@gmail.com
>>> wrote:
>>
>>> I'm curious if there's a new way (using flex or term states) to store
>>> IDs alongside a document and retrieve the IDs of the top N results?
>>> The goal would be to minimize HD seeks, and not use field caches
>>> (because they consume too much heap space) or the doc stores (which
>>> require two seeks).  One possible way using the pre-flex system is to
>>> place the IDs into a payload posting that would match all documents,
>>> and then [somehow] retrieve the payload only when needed.
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>

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