RE: Question about sorting by a field

2012-01-20 Thread federico.wachs
Yes, that works! I had to boost the firstDestination field to have it well sorted. Any ideas why the score might be equally for all the documents returned? Thanks a lot! Federico -- View this message in context: http://lucene.472066.n3.nabble.com/Question-about-sorting-by-a-field

RE: Question about sorting by a field

2012-01-19 Thread Michael Ryan
How about having a single-valued field named "firstDestination" that has the first destination in the list, and then your query could be something like 'destination:"Buenos Aires" firstDestination:"Buenos Aires"'. Docs that match both should have a higher score and thus will be listed first. -M

Question about sorting by a field

2012-01-19 Thread federico.wachs
t doesn't seem to be working on my end so far. Thanks in advanced! Federico -- View this message in context: http://lucene.472066.n3.nabble.com/Question-about-sorting-by-a-field-tp3673491p3673491.html Sent from the Solr - User mailing list archive at Nabble.com.