Hi, You can either use omitTermFreqAndPositions on that field or set a custom similarity for that field that returns 1 for tf > 0.
http://wiki.apache.org/solr/SchemaXml#Common_field_options http://wiki.apache.org/solr/SchemaXml#Similarity -----Original message----- > From:Amit Jha <shanuu....@gmail.com> > Sent: Thu 06-Dec-2012 08:13 > To: solr-user@lucene.apache.org > Subject: Disable term frequency for some fields in solr > > Hi, > > In my case I would like to disable term frequency for some fields. These > field should return a constant term frequency irrespective of how many > times a query term occur in those fields. > > Regards > Shanu >