(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/
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.
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
.n3.nabble.com/analyzer-type-tp1890002p1890002.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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
> "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
"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
> 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
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
10 matches
Mail list logo