You can use IndexReader.getBinaryDocValues(field).

BTW your site should reference *Apache* Lucene, not just Lucene.

Mike McCandless

http://blog.mikemccandless.com


On Thu, Feb 13, 2014 at 11:51 AM, Marcio Napoli <napoli.mar...@gmail.com> wrote:
> Hey Mike,
>
> I need quick access to values per document. The use of binary values is
> possible via doc FieldCache -> FieldCacheSource.getValues ()?
>
> Thanks,
> Marcio Napoli
>
> Go beyond Lucene(tm) features with Numere(R)
> http://numere.stela.org.br
>
>
> 2014-02-13 13:16 GMT-02:00 Michael McCandless <luc...@mikemccandless.com>:
>
>> Why do you index such immense terms?  What's the end user use case?
>> Do they really need to be inverted?  Maybe use binary doc values
>> instead?
>>
>> Mike McCandless
>>
>> http://blog.mikemccandless.com
>>
>>
>> On Thu, Feb 13, 2014 at 8:36 AM, Marcio Napoli <napoli.mar...@gmail.com>
>> wrote:
>> > Hi All,
>> >
>> > I have a need to work with big terms. So the 32k is not enough. How can i
>> > increase the maximum size of a term? Found in the IndexWriter
>> > MAX_TERM_LENGTH constant, which refers to FieldCache and
>> > DocumentsWriterPerThread (BYTE_BLOCK_SIZE-2).
>> >
>> > Thanks,
>> > Marcio Napoli
>> >
>> > Go beyond Lucene(tm) features with Numere(R)
>> > http://numere.stela.org.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to