INDEX_FILTER env variable seems to have no effect?

8 views
Skip to first unread message

Roger Kind Kristiansen

unread,
May 25, 2018, 10:46:27 AM5/25/18
to Thinking Sphinx
When running "rake ts:index INDEX_FILTER=<name of index>", thinking sphinx goes on indexing all of them. I'm using the name of the index as defined in :name parameter of the index definition, without _core or _delta, as mentioned all the way at the bottom of this documentation. Just to make sure I've also tried defining the variable before running rake ts:index.

Am I misunderstanding or messing something up here, or is there a bug? I'm on v4.0.0.

Pat Allan

unread,
Jun 9, 2018, 11:22:54 AM6/9/18
to thinkin...@googlegroups.com
Hi Roger,

Sorry it’s taken me so long to reply, my inbox got a little out of control. And doubly so, because the answer, it turns out, was also my fault:

The documentation was wrong - you should include the _core or _delta suffix. I’ll fix the docs up - sorry for the confusion!

— 
Pat

On 25 May 2018, at 10:46 pm, Roger Kind Kristiansen <roger.kr...@gmail.com> wrote:

When running "rake ts:index INDEX_FILTER=<name of index>", thinking sphinx goes on indexing all of them. I'm using the name of the index as defined in :name parameter of the index definition, without _core or _delta, as mentioned all the way at the bottom of this documentation. Just to make sure I've also tried defining the variable before running rake ts:index.

Am I misunderstanding or messing something up here, or is there a bug? I'm on v4.0.0.

--
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-sphi...@googlegroups.com.
To post to this group, send email to thinkin...@googlegroups.com.
Visit this group at https://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages