lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Rowe <>
Subject Re: how to add attributes to a field just like term's payload ?
Date Sun, 06 Jan 2013 17:23:34 GMT
Hi wiggify,

Lucene doesn't have direct support for what you want.

However, you can store a custom map in the index when you commit: <

It will be your responsibility to associate that information with each
field, e.g. by using field names as keys in the map.


On Sun, Jan 6, 2013 at 2:18 AM, wgggfiy <> wrote:

> hello, as we know, we can add payload to a term,
> but whether can we add extra custom info into a field ?
> such the description of the field, which is the property shared by thd
> field
> of all documents.
> how to make it ? thx

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message