For anyone looking for further discussion related to this thread, it’s 
happening on GitHub:
https://github.com/pat/thinking-sphinx/issues/939 
<https://github.com/pat/thinking-sphinx/issues/939>

> On 24 Aug 2015, at 10:54 am, Ekaterina Krivich <[email protected]> 
> wrote:
> 
> Hello!
> 
> I have a general (probably stupid) question, not actually evolving particular 
> Sphinx, Thinking Sphinx version. 
> I use TS + Postgres.
> 
> When I have most simplest index ever, for example:
> 
> ThinkingSphinx::Index.define :article, with: :active_record do
>   indexes title
> end
> 
> I've got as a result like this:
> 
> source article_core_0
> {
>   ...
>   type = pgsql
>   sql_query = SELECT "article"."id" * 3 + 0 AS "id", article."title" AS 
> "title", article."id" AS "sphinx_internal_id",  0 AS "sphinx_deleted" FROM 
> "article" WHERE ("article"."id" BETWEEN $start AND $end) GROUP BY 
> "article"."id", article."title"
>   ...
> }
> 
> So the question is, why TS generates this group by clause even if I didn't 
> set one? 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/thinking-sphinx 
> <http://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 [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/d/optout.

Reply via email to