Re: Autocomplete(terms) middle of words

2011-05-01 Thread ramires
I've already use nutch trunk 4.0. I have problem with space. -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2888940.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
solr-1.4 version does not support terms.regex .So you need to upgrade your version to solr-3.1. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2880040.html Sent from the Solr - User mail

Re: Autocomplete(terms) middle of words

2011-04-29 Thread ramires
hi I tried before both %20 and " " terms it didn`t work. Also regex=(.*)(book) delete spaces and merge results like thebook asbook atbook songbook yearbook-- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2879375.html Sent from

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Quentin Proust
@roySolr : terms.regex exits from Solr 3.1. Doesn't seem compatible. @ramires : Did you try with space in your regex. Something like terms.regex=(.*) book (.*) <-- I put space before and after book. If it doesn't work, try to replace space with %20. I didn't try so I don't know if it work. 2011/4

Re: Autocomplete(terms) middle of words

2011-04-29 Thread ramires
hi I have question about regex terms. I try to find terms before and after word'ing but can't sand blank char. how can I send through ?? terms?terms=true&terms.fl=content&terms.regex=(.*)( book)&terms.regex.flag=case_insensitive&terms.limit=50-- View this message in context: http://lucene.47206

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
terms.regex doesn´t work for me. Prefix works fine. I use SOLR 1.4.. Is it compatible?-- View this message in context: http://lucene.472066.n3.nabble.com/Autocomplete-terms-middle-of-words-tp2878694p2878948.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
The words are now splitted in the index(nGram). It looks like this: m ma man manc manch manche manches manchest mancheste manchester The termsComponent does not see it as one word(manchester). It gives me the results back in NGrams(m,ma,man etc)-- View this message in context: http://lucene.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Quentin Proust
You can do it without NGram with a query like this : http://localhost:8983/solr/terms?terms=true&terms.fl=suggestionField&terms.regex=(.*)chest(.*)&terms.regex.flag=case_insensitive In my case, I had to encode (.*) so replace it with %28.*%29 if needed. It use a regex. I don't know if it has an im

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
Hello , If you are using NGram then do not use TermsComponent, Query normally like http://localhost:8983/solr/select?q=suggestionField:chest It will give you the desired suggestions -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble.com/Au

Re: Autocomplete(terms) middle of words

2011-04-29 Thread lboutros
you could use EdgeNGramFilterFactory : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory And you should mix front and back ngram process in your analyzer : is it better ? Ludovic. -Jouve France.-- View this message in context: http://lucene.472066.n

Re: Autocomplete(terms) middle of words

2011-04-29 Thread roySolr
Ok, i try NGrams. My configuration looks like this: i try to run the query: http:/

Re: Autocomplete(terms) middle of words

2011-04-29 Thread Grijesh
NGram will work for you if you want to search in middle of the word .You can also look for wildcard search for that. NGram will increase the size of index while wildcard queries are slow. -Thanx: Grijesh www.gettinhahead.co.in -- View this message in context: http://lucene.472066.n3.nabble