Hi Max
The set_property method within an index definition can be used for changing
enable_star and min_infix_len and other such settings on a per-index basis.
ThinkingSphinx::Index.define :article, :with => :active_record do
indexes foo
set_property :enable_star => true
end
This could certainly be better described in the documentation.
—
Pat
On 30 Oct 2013, at 4:24 pm, Max NudePatch <[email protected]> wrote:
> Hello.
> I read docs and can't find any info about custom configuration for each index.
> There is only different configs for environments.
> But I want to disable star for one index and enable for another. How do i do
> that?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.