Re: analyzer type - does it default to "index" or "query"?

2011-05-26 Thread Koji Sekiguchi
(11/05/26 13:23), Andy wrote: Hi, When specifying an analyzer for a fieldType, I can say type="index" or type="query" What if I don't spcify the type for an analyzer? Does it default to "index" or "query" or both? Both. koji -- http://www.rondhuit.com/en/

analyzer type - does it default to "index" or "query"?

2011-05-25 Thread Andy
Hi, When specifying an analyzer for a fieldType, I can say type="index" or type="query" What if I don't spcify the type for an analyzer? Does it default to "index" or "query" or both? Thanks.

Re: analyzer type

2010-11-12 Thread Tomas Fernandez Lobbe
HTMLStripCharFilterFactor to strip the html tags, but the user wont be querieng with html tags, right? so in that case you might need the HTMLStripCharFilterFactory only at index time (on the "index" type analyzer). If you don't specify the analyzer type, by default, the same analysis chain

analyzer type

2010-11-12 Thread gauravshetti
.n3.nabble.com/analyzer-type-tp1890002p1890002.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: analyzer type="query" with NGramTokenFilterFactory forces phrase query

2010-01-18 Thread Robert Muir
the way that queryparser treats whitespace is also a problem for languages that have words that contain spaces, like vietnamese. i think it also causes grief for multi-word synonyms, such that they don't work correctly at querytime: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#Synony

Re: analyzer type="query" with NGramTokenFilterFactory forces phrase query

2010-01-18 Thread Wangsheng Mei
I faced a similar problem when I was dealing with Chinese words search. By simply adding a PositionFilter at the end of analyzer, the damn phrase query disappeared and replaced by term queries which is what I've expected. That's very nice, thank you very much! Note that Chinese words segmentation

Re: analyzer type="query" with NGramTokenFilterFactory forces phrase query

2009-12-31 Thread AHMET ARSLAN
> "if this is the expected behaviour is > there a way to override it?"[1] > > [1] me Using PositionFilterFactory[1] after NGramFilterFactory can yield parsed query: field:fa field:am field:mi field:il field:ly field:fam field:ami field:mil field:ily [1] http://wiki.apache.org/solr/Analyzers

Re: analyzer type="query" with NGramTokenFilterFactory forces phrase query

2009-12-31 Thread Joe Calderon
"if this is the expected behaviour is there a way to override it?"[1] [1] me On Thu, Dec 31, 2009 at 10:13 AM, AHMET ARSLAN wrote: >> Hello *, im trying to make an index >> to support spelling errors/fuzzy >> matching, ive indexed my document titles with >> NGramFilterFactory >> minGramSize=2 ma

Re: analyzer type="query" with NGramTokenFilterFactory forces phrase query

2009-12-31 Thread AHMET ARSLAN
> Hello *, im trying to make an index > to support spelling errors/fuzzy > matching, ive indexed my document titles with > NGramFilterFactory > minGramSize=2 maxGramSize=3, using the analysis page i can > see the > common grams match between the indexed value and the query > value, > however when i

analyzer type="query" with NGramTokenFilterFactory forces phrase query

2009-12-31 Thread Joe Calderon
Hello *, im trying to make an index to support spelling errors/fuzzy matching, ive indexed my document titles with NGramFilterFactory minGramSize=2 maxGramSize=3, using the analysis page i can see the common grams match between the indexed value and the query value, however when i try to do a query