Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Jonah Schwartz
That seems to work. Thanks! -Jonah On Thu, Feb 5, 2009 at 4:08 AM, Grant Ingersoll wrote: > In schema.xml, at the very bottom, you should see: > > > > I believe creating the Factory wrapper is pretty simple. See > http://wiki.apache.org/solr/SolrPlugins > > > On Feb 4, 2009, at 7:29 PM, Jonah

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Grant Ingersoll
In schema.xml, at the very bottom, you should see: I believe creating the Factory wrapper is pretty simple. See http://wiki.apache.org/solr/SolrPlugins On Feb 4, 2009, at 7:29 PM, Jonah Schwartz wrote: We want to configure solr so that fields are indexed with a maximum term frequency an

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Geir Henning Pettersen
Hi, We have used some time on a similar problem. I am pretty sure that setting a custom similarity implementation is the best way to do it in solr too. We ended up by solving our problem outside solr, but it probably would have been better to set the similarity like you are describing here. As fa

Maximum Term Frequency and Minimum Document Length

2009-02-04 Thread Jonah Schwartz
We want to configure solr so that fields are indexed with a maximum term frequency and a minimum document length. If a term appears more than N times in a field it will be considered to have appeared only N times. If a document length is under M terms, it will be considered to exactly M terms. We h