Hi Ngan
Using sphinx_internal_id is fine - I have no plans to remove/rename that
attribute.
--
Pat
On 18/04/2013, at 2:11 AM, Ngan wrote:
> Hi, I have an Article model that I index.
>
> I wish to be able to add id exclusions when searching for articles, e.g.
> :without => {:id => 2}
> Is it safe to use sphinx_internal_id? ...and do :without =>
> {:sphinx_internal_id => 2}?
> Or must I add:
>
> has :id, as: :article_id
>
> Then do, :without => {:article_id => 2}
>
> Thanks!
>
> --
> 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?hl=en.
> 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.