-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
I'm moving from Tire to Elastictastic to work with an elasticsearch database and I'm having problems setting the analyzer I want to use. With Tire, I had to use the following:
@index.create :settings => {
:index => {
:analysis => {
:analyzer => {
:default => {
type: "snowball",
:language => 'Catalan'
}
}
}
}
}I've tried to set it on the mapping, but it doesn't work:
class Product
include Elastictastic::Document
field :name, analyzer: {type: "snowball", language: "Catalan"}
field :description, analyzer: {type: "snowball", language: "Catalan"}
endI tried to set a default analyzer, but I could not find any reference to this on the README nor the code docs. I really need to set this analyzer, any idea on how to achive that?
Thank you!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels