Hi Logan, To do this, you can set it per field in the index definition:
indexes name, :infixes => true indexes location, :prefixes => true The dict setting can only be set per-index, so if you want it for specific indices, add this to those index definitions: set_property :dict => ‘keywords’ Or for all indices, add it to each environment in your config/thinking_sphinx.yml file: development: dict: keywords test: dict: keywords production: dict: keywords Though at some point, I believe keywords will be (if it isn’t already) the default dict setting. Cheers, — Pat > On 29 Aug 2017, at 8:06 am, Loganathan Sellappa <loganathan...@gmail.com > <mailto:loganathan...@gmail.com>> wrote: > > Hello, > > > > I want to have infix indexing for few fields and prefix indexing for some > other fields in my table. > > Is there a way to do it in sphinx? > > > > I'm looking for options infix_fields & prefix_fields in Sphinx with > dict=keyword > > > > Regards, > Logan > > > > -- > 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 thinking-sphinx+unsubscr...@googlegroups.com > <mailto:thinking-sphinx+unsubscr...@googlegroups.com>. > To post to this group, send email to thinking-sphinx@googlegroups.com > <mailto:thinking-sphinx@googlegroups.com>. > Visit this group at https://groups.google.com/group/thinking-sphinx > <https://groups.google.com/group/thinking-sphinx>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 thinking-sphinx+unsubscr...@googlegroups.com. To post to this group, send email to thinking-sphinx@googlegroups.com. Visit this group at https://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.