-snowball/index.html
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: wojtekpia wojte...@hotmail.com
To: solr-user@lucene.apache.org
Sent: Thursday, May 7, 2009 2:41:29 PM
Subject: Sorting by 'starts with'
I have an index of product names
I have an index of product names. I'd like to sort results so that entries
starting with the user query come first.
E.g.
q=kitchen
Results would sort something like:
1. kitchen appliance
2. kitchenaid dishwasher
3. fridge for kitchen
It looks like using a query Function Query comes close,