Hi,

probably this may help you start:

https://issues.apache.org/jira/browse/SOLR-1297

Dmitry

On Mon, Jun 4, 2012 at 9:51 PM, Gau <gauravshe...@gmail.com> wrote:

> Here is the usecase:
> I am using synonym expansion at query time to get results. this is
> essentially a name search, so a search for Jim may be expanded at query
> time
> for James, Jung, Jimmy, etc.
>
> So ranking fields like TF, IDF, Norms do not mean anything to me. I just
> reset them to zero. so all the results which I get have the same rank. I
> have used a copy field to boost the weights of exact match, so Jim would be
> boosted to the top.
>
> However I want the other results like Jimmy, Jung, James to be sorted by
> Levenstein Distance with respect to word Jim (the original query). The
> number of results returned are quite large. So a genereal strdist sort
> takes
> 6-7 seconds. Is there any other option than applying a sort= in the query
> to
> achieve the same functionality? Any particular way to index the data to
> achieve the same result? any idea to boost the performance and get the
> intended functionality?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Sorting-performance-tp3987633.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Regards,

Dmitry Kan

Reply via email to