On Mon, Jun 15, 2009 at 3:00 PM, Uwe Schindler<u...@thetaphi.de> wrote: > There is a new Attribute called ShiftAttribute (or NumericShiftAttribute), > when trie range is moved to core. This attribute contains the shifted-away > bits from the prefix encoded value during trie indexing.
I was wondering about this.... To make use of ShiftAttribute, you need to understand the trie encoding scheme itself. If you understood that, you'd be able to look at the actual token value if you were interested in what shift was used. So it's redundant, has a runtime cost, it's not currently used anywhere, and it's not useful to fields other than Trie. Perhaps it shouldn't exist (yet)? -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org