lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Calderon <calderon....@gmail.com>
Subject faceting ordering
Date Wed, 28 Oct 2009 18:01:09 GMT
curious...is it possible to have faceted results ordered by score?

im having a problem where im faceting on a field while searching for
the same word twice, for example:

im searching for "the the" on a tokenized field and faceting by the
untokenized version, faceting returns records with "the the", but way
at the bottom since everything with a single "the" happens to be way
more frequent, i tried restricting my search to phrases with small
slop:

myfield:"token1 token2 token3"~3

but that affects other searches negatively, ideally i want to be as
loose as possible as these searches power an auto suggest feature

i figured if faceted results could be sorted by score, i could simply
boost phrases instead of restricting by them, thoughts?


--joe

Mime
View raw message