This was extremely helpful. Thanks a lot.
On 05/04/2010 05:30 PM, Chris Hostetter wrote:
First off: i would suggest that instead of doing a simple prefix search,
you look into using EdgeNGrams for this sort of thing.
I'm also assuming since you need custom scoring for this, you aren't going
to
Chris Hostetter wrote:
this can be accomplished by indexing a numeric field containing the
"length" of the field as a number, and then doing a secondary sort on it.
the fieldNorm typically takes care of this sort of thing for you, but is
more of a generalized concept, and doesn't give you exac
First off: i would suggest that instead of doing a simple prefix search,
you look into using EdgeNGrams for this sort of thing.
I'm also assuming since you need custom scoring for this, you aren't going
to get what you need using the TermsComponent or any other simple solution
using your main
I guess my basic issue is that Solr scores all matches for prefix
searches equally. Any way to score PINK over PINKSHEETS when you are
searching for PI ?
Thanks
Papiya
Papiya Misra wrote:
Hi
I am supposed to implement auto suggest where the prefix matches are
sorted based on the following crit