I'm curious, why do you want to disable idf? --wunder
On 10/28/08 5:37 AM, "Erik Hatcher" <[EMAIL PROTECTED]> wrote:
>
> On Oct 28, 2008, at 6:33 AM, Kraus, Ralf | pixelhouse GmbH wrote:
>> is there a chance to override the Similarity in my search ?
>> In fact I want that all result return a 1 (
On Oct 28, 2008, at 6:33 AM, Kraus, Ralf | pixelhouse GmbH wrote:
is there a chance to override the Similarity in my search ?
In fact I want that all result return a 1 (with the idf methode).
Sure thing, see Solr 1.3.0's example/solr/conf/schema.xml
Rafał Kuć schrieb:
Hello!
You can do it, by extending the DefaultSimilarity class from
org.apache.lucene.search package. After that, You need to add one line
to schema.xml file, which might look like this:
After that, Solr will recognize Your new similarity class and will use
it to compute
Hello!
You can do it, by extending the DefaultSimilarity class from
org.apache.lucene.search package. After that, You need to add one line
to schema.xml file, which might look like this:
After that, Solr will recognize Your new similarity class and will use
it to compute score.
--
Regards,
Hello,
is there a chance to override the Similarity in my search ?
In fact I want that all result return a 1 (with the idf methode).
Greets -Ralf-
Hello,
is there a chance to override the Similarity in my search ?
In fact I want that all result return a 1 (with the idf methode).
Greets -Ralf-