Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
So what was my mistake? I still have not resolved this issue. On Fri, May 20, 2011 at 11:22 AM, Brian Lamb wrote: > Yes. Was that not what I was supposed to do? > > > On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi wrote: > >> (11/05/20 3:45), Brian Lamb wrote: >> >>> Hi all, >>> >>> Based on adv

Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
Yes. Was that not what I was supposed to do? On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi wrote: > (11/05/20 3:45), Brian Lamb wrote: > >> Hi all, >> >> Based on advice I received on a previous email thread, I applied patch >> https://issues.apache.org/jira/browse/SOLR-2338. My goal was to be

Re: Similarity class for an individual field

2011-05-19 Thread Koji Sekiguchi
(11/05/20 3:45), Brian Lamb wrote: Hi all, Based on advice I received on a previous email thread, I applied patch https://issues.apache.org/jira/browse/SOLR-2338. My goal was to be able to apply a similarity class to certain fields but not all fields. I ran the following commands: $ cd $ svn u

Re: Similarity class for an individual field

2011-05-19 Thread Brian Lamb
I tried editing the SweetSpotSimilarity class located at lucene/contrib/misc/src/java/org/apache/lucene/misc/SweetSpotSimilarity.java to just return 1 for each function and the score does not change at all. This has led me to believe that it does not recognize similarity at all. At this point, all

Re: Similarity class for an individual field

2011-05-19 Thread Brian Lamb
Also, I've tried adding: To the end of the schema file so that it is applied globally but it does not appear to change the score either. What am I doing incorrectly? Thanks, Brian Lamb On Thu, May 19, 2011 at 2:45 PM, Brian Lamb wrote: > Hi all, > > Based on advice I received on a previous e

Similarity class for an individual field

2011-05-19 Thread Brian Lamb
Hi all, Based on advice I received on a previous email thread, I applied patch https://issues.apache.org/jira/browse/SOLR-2338. My goal was to be able to apply a similarity class to certain fields but not all fields. I ran the following commands: $ cd $ svn up $ wget https://issues.apache.org/j