Porterstem filter failed


(ildus) #1

hi, i have a problem, i don't now how solve it.

conf: elasticsearch/0.14.2

my configuration for analysis:

"analysis" : {
"analyzer": {
"my": {
"tokenizer" : "standard",
"filter" : ["standard", "lowercase", "porterstem"]
}
}
}

elasticsearch fail with error:

Error injecting constructor, java.lang.IllegalArgumentException: Custom
Analyzer [my] failed to find token filter under name [porterstem]
at
org.elasticsearch.index.query.IndexQueryParserService.(IndexQueryParserService.java:51)
while locating org.elasticsearch.index.query.IndexQueryParserService
for parameter 7 at
org.elasticsearch.index.service.InternalIndexService.(InternalIndexService.java:119)
while locating org.elasticsearch.index.service.InternalIndexService
while locating org.elasticsearch.index.service.IndexService
for parameter 3 at
org.elasticsearch.index.IndexServiceManagement.(IndexServiceManagement.java:46)
while locating org.elasticsearch.index.IndexServiceManagement

is my configuration wrong?

thanks, ildus

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/porterstem-filter-failed-tp2245009p2245009.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Karussell) #2

did you try porterStem too ?

On 13 Jan., 00:34, ildus i.kurbangal...@gmail.com wrote:

hi, i have a problem, i don't now how solve it.

conf: elasticsearch/0.14.2

my configuration for analysis:

"analysis" : {
"analyzer": {
"my": {
"tokenizer" : "standard",
"filter" : ["standard", "lowercase", "porterstem"]
}
}
}

elasticsearch fail with error:

Error injecting constructor, java.lang.IllegalArgumentException: Custom
Analyzer [my] failed to find token filter under name [porterstem]
at
org.elasticsearch.index.query.IndexQueryParserService.(IndexQueryParserService.java:51)
while locating org.elasticsearch.index.query.IndexQueryParserService
for parameter 7 at
org.elasticsearch.index.service.InternalIndexService.(InternalIndexService.java:119)
while locating org.elasticsearch.index.service.InternalIndexService
while locating org.elasticsearch.index.service.IndexService
for parameter 3 at
org.elasticsearch.index.IndexServiceManagement.(IndexServiceManagement.java:46)
while locating org.elasticsearch.index.IndexServiceManagement

is my configuration wrong?

thanks, ildus

--
View this message in context:http://elasticsearch-users.115913.n3.nabble.com/porterstem-filter-fai...
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(Shay Banon) #3

Yea, its registered either under porterStem or porter_stem.
On Saturday, January 15, 2011 at 10:57 PM, Karussell wrote:

did you try porterStem too ?

On 13 Jan., 00:34, ildus i.kurbangal...@gmail.com wrote:

hi, i have a problem, i don't now how solve it.

conf: elasticsearch/0.14.2

my configuration for analysis:

"analysis" : {
"analyzer": {
"my": {
"tokenizer" : "standard",
"filter" : ["standard", "lowercase", "porterstem"]
}
}
}

elasticsearch fail with error:

Error injecting constructor, java.lang.IllegalArgumentException: Custom
Analyzer [my] failed to find token filter under name [porterstem]
at
org.elasticsearch.index.query.IndexQueryParserService.(IndexQueryParserService.java:51)
while locating org.elasticsearch.index.query.IndexQueryParserService
for parameter 7 at
org.elasticsearch.index.service.InternalIndexService.(InternalIndexService.java:119)
while locating org.elasticsearch.index.service.InternalIndexService
while locating org.elasticsearch.index.service.IndexService
for parameter 3 at
org.elasticsearch.index.IndexServiceManagement.(IndexServiceManagement.java:46)
while locating org.elasticsearch.index.IndexServiceManagement

is my configuration wrong?

thanks, ildus

--
View this message in context:http://elasticsearch-users.115913.n3.nabble.com/porterstem-filter-fai...
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #4