Re: what do i get with FieldCache.DEFAULT.getStrings(...);

2006-08-25 Thread Chris Hostetter
FieldCache was designed with searching in mind, where there can only be a single indexed Term for each doc (otherwise how would you sort a doc that had two Terms "a" and "z" ?) I'm acctually suprised you are getting any values out instead of an Exception If you index your Field as UN_TOKENIZED y

Re: what do i get with FieldCache.DEFAULT.getStrings(...);

2006-08-25 Thread Chris Lu
Not sure of the solution though. But FieldCache.DEFAULT.getStrings() is returning a String[], with one String for each document. Seems your field is analyzed into multiple String values. Chris Lu --- Lucene Search on Any Databases/Applications h