On Fri, Nov 30, 2012 at 12:25 PM, Wu, Stephen T., Ph.D. <wu.step...@mayo.edu> wrote: > Is there any (preliminary) code checked in somewhere that I can look at, > that would help me understand the practical issues that would need to be > addressed? > > If I understand you correctly, it's a little different from what's happening > in your blog posts: > http://blog.mikemccandless.com/2012/07/building-new-lucene-postings-format.h > tml > http://blog.mikemccandless.com/2012/08/lucenes-new-blockpostingsformat-thank > s.html > Those posts deal with making your own codec, but not about changing what's > stored in the postings? I guess I misunderstood "postings format" before.
I don't know of any examples of adding an entirely new attribute to the postings, except via payloads. All the examples we have are of Codecs/PostingsFormats/etc. storing all the usual attributes (term & its stats (docFreq/totalTermFreq), doc, freq, position, offsets, payload) in "interesting" ways. Maybe we can make this more concrete: what new attribute are you needing to record in the postings and access at search time? Mike McCandless http://blog.mikemccandless.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org