: I want to modify scoring to ignore term frequency > 1. This is useful 
        ...
: fields. What's the best way to do this? Is there a way to use a 
: field-specific similarity class, or to evaluate field names/parameters 
: inside a Similarity class?

The Similarity API let's you customize the tf function to have different 
behavior based on teh field name, but if you really don'tcare about term 
freq for some fields, you can also use <field ... 
omitTermFreqAndPositions="true" /> to keep it out of your index 
completely. (if your <schema/> has "version=1.2" then that's the default 
for most field types, but you have to set it to true explicitly for 
TextField)




-Hoss

Reply via email to