Re: distinct on my result

2010-03-12 Thread stocki
about >>>> it =( >>>> >>>> >>>> gwk-4 wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> The autosuggest core is filled by a simple script (written in PHP) >>>>> which >>>>> request facet values for all the possible strings one can search for >>>>> and >>>>> adds them one by one as a document. Our case has some special issues >>>>> due >>>>> to the fact that we search in multiple languages (Typing "España" will >>>>> suggest "Spain" and the other way around when on the Spanish site). We >>>>> have about 97500 documents yeilding approximately 12500 different >>>>> documents in our autosuggest-core and the autosuggest-update script >>>>> takes about 5 minutes to do a full re-index (all this is done on a >>>>> separate server and replicated so the indexing has no impact on the >>>>> performance of the site). >>>>> >>>>> Regards, >>>>> >>>>> gwk >>>>> >>>>> On 3/10/2010 3:09 PM, stocki wrote: >>>>> >>>>> >>>>>> okay. thx >>>>>> >>>>>> my suggestion run in another core;) >>>>>> >>>>>> do you distinct during the import with DIH ? >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> > > > -- View this message in context: http://old.nabble.com/distinct-on-my-result-tp27849951p27874112.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: distinct on my result

2010-03-11 Thread gwk
Hi, Try replacing KeywordTokenizerFactory with a WhitespaceTokenizerFactory so it'll create separate terms per word. After a reindex it should work. Regards, gwk On 3/11/2010 4:33 PM, stocki wrote: hey, okay i show your my settings ;) i use an extra core with the standard requesthandler.

Re: distinct on my result

2010-03-11 Thread stocki
done on a >>> separate server and replicated so the indexing has no impact on the >>> performance of the site). >>> >>> Regards, >>> >>> gwk >>> >>> On 3/10/2010 3:09 PM, stocki wrote: >>> >>>> okay. thx >>>> >>>> my suggestion run in another core;) >>>> >>>> do you distinct during the import with DIH ? >>>> >>>> >>> >>> >>> >> > > > -- View this message in context: http://old.nabble.com/distinct-on-my-result-tp27849951p27865058.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: distinct on my result

2010-03-11 Thread gwk
Hi, I'm no expert on the full-text search features of Solr but I guess that has something to do with your fieldtype, or query. Are you using the standard request handler or dismax for your queries? And what analysers are you using on your product name field? Regards, gwk On 3/11/2010 3:24

Re: distinct on my result

2010-03-11 Thread stocki
gt;> my suggestion run in another core;) >> >> do you distinct during the import with DIH ? >> > > > -- View this message in context: http://old.nabble.com/distinct-on-my-result-tp27849951p27864088.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: distinct on my result

2010-03-10 Thread gwk
Hi, The autosuggest core is filled by a simple script (written in PHP) which request facet values for all the possible strings one can search for and adds them one by one as a document. Our case has some special issues due to the fact that we search in multiple languages (Typing "España" will

Re: distinct on my result

2010-03-10 Thread stocki
quot;:"Halloween"}, >> { >> "name":"Hallstatt"}, >> { >> "name":"Hallo Mary"}, >> { >> "name":"Halloween"}, >> { >> "name":"

Re: distinct on my result

2010-03-10 Thread gwk
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 amou

distinct on my result

2010-03-10 Thread stocki
quot;Hallo Mary"}, { "name":"Halloween"}, { "name":"Halloween"}, { "name":"Halloween"}, { "name":"Halleluja"}, { "name":"Halloween&qu