Re: 4.0 query question

2012-11-12 Thread Otis Gospodnetic
Hi, Yes, via a custom Similarity, which you then reference in solrconfig.xml, that always returns 1 from the idf method. Was mentioned on this list a few days back - see search-lucene.com. Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://

4.0 query question

2012-11-12 Thread dm_tim
I just discovered the idf scoring component and it's biting me on the butt. In the particular case I have all terms are equally relevant. Is there any way to turn off idf scoring? Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019898.htm

Re: 4.0 query question

2012-11-12 Thread dm_tim
That is terrific. Thanks. Regards, Tim -- View this message in context: http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019890.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: 4.0 query question

2012-11-11 Thread Amit Nithian
Why not group by cid using the grouping component, within the group sort by version descending and return 1 result per group. http://wiki.apache.org/solr/FieldCollapsing Cheers Amit On Fri, Nov 9, 2012 at 2:56 PM, dm_tim wrote: > I think I may have found my answer buy I'd like additional vali

Re: 4.0 query question

2012-11-09 Thread dm_tim
I think I may have found my answer buy I'd like additional validation: I believe that I can add a function to my query to get only the highest values of 'file_version' like this - _val_:"max(file_version, 1)" I seem to be getting the results I want. Does this look correct? Regards, Tim -- Vie

4.0 query question

2012-11-09 Thread dm_tim
Howdy, I have a Solr query that is almost perfect: http://localhost:8080/apache-solr-4.0.0/v3_tag_core/select?q=tag%3A%22coat%22%5E4+%22coat%22+cid%3A136+&sort=score+desc&rows=10&fl=id+tag+cid+file_version+lang+score&wt=json&indent=true&debugQuery=true It's grabbing data that includes the fields: