Re: Penalize certain keywords but not completely forbid them

2011-12-05 Thread tux
This sorts of works. Although it feels kind of hack and I am not sure how robust it is for more complicated situations. Is there any reason behind not supporting a "proper" negative boost? Is there any mathematical restriction? -- View this message in context: http://lucene.472066.n3.nabble.com/P

Penalize certain keywords but not completely forbid them

2011-12-04 Thread tux
I have a situation where each doc is described by a tag field with multiple tags. Tags come pairs. So when one tag is added to the field, it means that the opposite tag in the pair is rejected for the document. Tags are also optional, so two documents may be described by different set of tags. When