hey.

okay. thx 

my suggestion run in another core ;)

do you distinct during the import with DIH ?



gwk-4 wrote:
> 
> Hi,
> 
> I ran into the same issue, and what I did (at 
> http://www.mysecondhome.co.uk/) was to create a separate core just for 
> autosuggest which is fully updated once an hour which contains the 
> distinct values of the items I want to look for including the count so I 
> can display the approximate amount of results in the suggest dropdown. 
> This might not be a good solution when your data is updated frequently 
> but for us it's worked very well so far. Maybe you can also use 
> clustering so you won't have to create a separate core but I'm thinking 
> my solution performs better (although I haven't tested it so I could be 
> horribly horribly wrong).
> 
> Regards,
> 
> gwk
> 
> On 3/10/2010 2:55 PM, stocki wrote:
>> hello.
>>
>> i implement my suggest-function with edgengramfilter.
>> now when i get my result , is the result not distinct. often ist the name
>> double or more.
>>
>> is it possible that solr gives me only distinct result ?
>>
>>   "response":{"numFound":172,"start":0,"docs":[
>>      {
>>       "name":"Halloween"},
>>      {
>>       "name":"Hallo Taxi"},
>>      {
>>       "name":"Halloween"},
>>      {
>>       "name":"Hallstatt"},
>>      {
>>       "name":"Hallo Mary"},
>>      {
>>       "name":"Halloween"},
>>      {
>>       "name":"Halloween"},
>>      {
>>       "name":"Halloween"},
>>      {
>>       "name":"Halleluja"},
>>      {
>>       "name":"Halloween"}]
>>
>> so how can i delete Halloween from solr ?
>> i didnt want delete it from client-side
>>
>> thx
>>
>>
>>
>>    
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/distinct-on-my-result-tp27849951p27850157.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to