On Tue, Oct 4, 2011 at 8:46 AM, Jason Toy <jason...@gmail.com> wrote: > I have custom scoring written for certain docs. Since the scoring uses a > combination of FieldNorm, td, idf, and other factors, I've modified some of > those values to fit my scoring needs. The last issue I have now is that I'm > not sure how to turn this on for the one doc type where this matters, I > have the docs set by TYPE_ID = 1. >
I wouldn't do it this way honestly... instead of having a field "field" that is a mixed bag and another field "type_id" that can be 1 or 2, just use separate fields (field1 and field2) and put your content into the correct field depending upon its "type". I think you will find this denormalization makes it much easier. -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org