Hi Eric,

Before using the terms component, allow me to point out:

* http://sematext.com/products/autocomplete/index.html (used on 
http://search-lucene.com/ for example)

* http://wiki.apache.org/solr/Suggester


Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Eric Grobler <impalah...@googlemail.com>
> To: solr-user@lucene.apache.org
> Sent: Tue, April 26, 2011 1:11:11 PM
> Subject: Ebay Kleinanzeigen and Auto Suggest
> 
> Hi
> 
> Someone told me that ebay is using solr.
> I was looking at their  Auto Suggest implementation and I guess they are
> using Shingles and the  TermsComponent.
> 
> I managed to get a satisfactory implementation but I have  a problem with
> category specific filtering.
> Ebay suggestions are sensitive  to categories like Cars and Pets.
> 
> As far as I understand it is not  possible to using filters with a term
> query.
> Unless one uses multiple  fields or special prefixes for the words to index I
> cannot think how to  implement this.
> 
> Is their perhaps a workaround for this  limitation?
> 
> Best  Regards
> EricZ
> 
> ---------------------------------------
> 
> I am have  a shingle type like:
> <fieldType name="shingle_text"  class="solr.TextField"
> positionIncrementGap="100">
> <analyzer>
>    <tokenizer class="solr.StandardTokenizerFactory"/>
>    <filter  class="solr.ShingleFilterFactory" minShingleSize="2"
> maxShingleSize="4"  />
>    <filter class="solr.LowerCaseFilterFactory" />
>    </analyzer>
> </fieldType>
> 
> 
> 
> and a query like
>http://localhost:8983/solr/terms?q=*%3A*&terms.fl=suggest_text&terms.sort=count&terms.prefix=audi
>i
> 

Reply via email to