Could you elaborate it, please? 

thanks
S

________________________________________
Inizio: in.abdul [in.ab...@gmail.com]
Inviato: giovedì 26 luglio 2012 20.36
Fine: solr-user@lucene.apache.org
Oggetto: Re: Skip first word

That's is best option I had also used shingle filter factory . .
On Jul 26, 2012 10:03 PM, "Chantal Ackermann-2 [via Lucene]" <
ml-node+s472066n399748...@n3.nabble.com> wrote:

> Hi,
>
> use two fields:
> 1. KeywordTokenizer (= single token) with ngram minsize=1 and maxsize=2
> for inputs of length < 3,
> 2. the other one tokenized as appropriate with minsize=3 and longer for
> all longer inputs
>
>
> Cheers,
> Chantal
>
>
> Am 26.07.2012 um 09:05 schrieb Finotti Simone:
>
> > Hi Ahmet,
> > business asked me to apply EdgeNGram with minGramSize=1 on the first
> term and with minGramSize=3 on the latter terms.
> >
> > We are developing a search suggestion mechanism, the idea is that if the
> user types "D", the engine should suggest "Dolce & Gabbana", but if we type
> "G", it should suggest other brands. Only if users type "Gab" it should
> suggest "Dolce & Gabbana".
> >
> > Thanks
> > S
> > ________________________________________
> > Inizio: Ahmet Arslan [[hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=3997480&i=0>]
>
> > Inviato: mercoledì 25 luglio 2012 18.10
> > Fine: [hidden email]<http://user/SendEmail.jtp?type=node&node=3997480&i=1>
> > Oggetto: Re: Skip first word
> >
> >> is there a tokenizer and/or a combination of filter to
> >> remove the first term from a field?
> >>
> >> For example:
> >> The quick brown fox
> >>
> >> should be tokenized as:
> >> quick
> >> brown
> >> fox
> >
> > There is no such filter that i know of. Though, you can implement one
> with modifying source code of LengthFilterFactory or StopFilterFactory.
> They both remove tokens. Out of curiosity, what is the use case for this?
> >
> >
> >
> >
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Skip-first-word-tp3997277p3997480.html
>  To unsubscribe from Lucene, click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472066&code=aW4uYWJkdWxAZ21haWwuY29tfDQ3MjA2NnwxMDczOTUyNDEw>
> .
> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




-----
THANKS AND REGARDS,
SYED ABDUL KATHER
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Skip-first-word-tp3997277p3997509.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to