--- On Thu, 6/9/11, Jamie Johnson jej2...@gmail.com wrote:
From: Jamie Johnson jej2...@gmail.com
Subject: Unique Results from Edgy Text
To: solr-user@lucene.apache.org
Date: Thursday, June 9, 2011, 10:42 PM
I am using the guide found here (
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/)
to build an autocomplete search capability but in my data
set I have some
documents which have the same value for the field that is
being returned, so
for instance I have the following being returned:
A test document to see how this works
A test document to see how this works
A test document to see how this works
A test document to see how this works
A test document to see how this works
I'm wondering if there is something I can specify that I
want only unique
results to come back. I know I can do some post
processing of the results
to make sure that only unique items come back, but I was
hoping there was
something that could be done to the query. Any
thoughts?
May be http://wiki.apache.org/solr/Deduplication ?
Or may be somehow you can populate your database table with unique queries
(outside of the solr) along with their couts.