Re: Skip first word

2012-07-27 Thread Chantal Ackermann
Your're welcome :-) C

Re: Skip first word

2012-07-27 Thread Finotti Simone
Brilliant! Thank you very much :) Inizio: Chantal Ackermann [c.ackerm...@it-agenten.com] Inviato: venerdì 27 luglio 2012 11.20 Fine: solr-user@lucene.apache.org Oggetto: Re: Skip first word Hi Simone, no I meant that you populate the two fields with the

Re: Skip first word

2012-07-27 Thread Chantal Ackermann
gt; condition you can apply to copyField directive, it means that this logic has > to be implementend by the process that populates the Solr core. Is this > assumption correct? > > That's kind of bad, because I'd like to have this kind of "rules" in the Solr &g

R: Skip first word

2012-07-27 Thread Finotti Simone
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 . . O

Re: Skip first word

2012-07-27 Thread Finotti Simone
enten.com] Inviato: giovedì 26 luglio 2012 18.32 Fine: solr-user@lucene.apache.org Oggetto: Re: Skip first word 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 longe

Re: Skip first word

2012-07-26 Thread in.abdul
o 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? > > > > > > > > > > > > --

Re: Skip first word

2012-07-26 Thread Chantal Ackermann
ot;, 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 [iori...@yahoo.com] > Inviato: mer

Re: Skip first word

2012-07-26 Thread Finotti Simone
we type "G", it should suggest other brands. Only if users type "Gab" it should suggest "Dolce & Gabbana". Thanks S Inizio: Ahmet Arslan [iori...@yahoo.com] Inviato: mercoledì 25 luglio 2012 18.10 Fine: solr-user@lu

Re: Skip first word

2012-07-25 Thread Ahmet Arslan
> 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 LengthFilt

Skip first word

2012-07-25 Thread Finotti Simone
Hi 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 thank you in advance S