Re: Override Similarity

2008-10-28 Thread Walter Underwood
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 (

Re: Override Similarity

2008-10-28 Thread Erik Hatcher
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

Re: Override Similarity

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
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

Re: Override Similarity

2008-10-28 Thread Rafał Kuć
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,

Override Similarity

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
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-

Override Similarity

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
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-