lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: payload at the document level
Date Thu, 05 Oct 2017 21:19:53 GMT

what you're describing is essentially just DocValues -- for each document, 
you can have an arbitrary bytes[] (or number, or sorted list of numbers), 
and you could write a custom query/similarity/collector that can access 
that "docvalue" at search time to decide if it's a match (or how to score 

: Date: Thu, 5 Oct 2017 14:15:01 -0700
: From: Lisheng Zhang <>
: Reply-To:
: To:
: Subject: payload at the document level
: Hi, I understand payload should be associated with an indexed term, but i
: remembered long time ago it was suggested that we should have payload at
: the document level (for whole document), such that we can get payload by
: docID only.
: Do we have this feature implemented in lucene 7 (i searched doc & code and
: could not find)?
: Thanks very much for helps, Lisheng


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message