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://

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