What you've got below is a fieldType definition, which is the first
step. Then you need to add a dynamic field definition -- look in the
default schema for examples. Once you've got that in place, let's
assume you've defined your dynamic field with the suffix "*_mytext".
All you need to do is tell Sunspot to override its default internal
naming schema and use your field name instead:
searchable do
text :some_text, :as => :some_field_mytext
end
Sunspot will use "some_field_mytext" as the internal field name, which
Solr will match with your "*_mytext" dynamic field definition.
Mat
> --
> You received this message because you are subscribed to the Google Groups "Sunspot" group.
> To post to this group, send email to ruby-s...@googlegroups.com.
> To unsubscribe from this group, send email to ruby-sunspot...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ruby-sunspot?hl=en.
>
>