Hi Bob
What are the ids you're expecting to see? What I'm getting at is: how big are
they? Beyond an unsigned 32bit integer?
Unlikely for most setups, but I just want to double-check.
--
Pat
On 20/10/2010, at 3:40 AM, Robert Sturim wrote:
> Hi Pat,
>
> Not sure if I understand your comment regarding putting asterisks around a
> one word search term versus enable_star, but it doesn't sound like I need to
> for now...
>
> There really isn't another text field on that particular entity. However, I
> did try putting in a different search term:
>
> TopicComment.search('Connection to CFront Failed')
>
> and it did find the result I was looking for.
>
> One other strangeness about attempting to search on "version". It looks like
> the matches it does find are all entities with rather low id #'s. For
> example,
>
> >> TopicComment.count
> => 4199
>
> >> TopicComment.search('version').collect(&:id).sort
> => [76, 99, 100, 104, 114, 117, 126, 127, 128, 129, 130, 140, 148, 149, 163,
> 171, 175, 183, 187, 189]
>
> That seems suspicious. I can definitely confirm that there are instances of
> "version" that are more or less randomly distributed throughout the range of
> id's. And if I specify the longer search term which I did confirm returns the
> result I am looking for, I get:
>
> >> TopicComment.search('Connection to CFront Failed').collect(&:id).sort
> => [117, 126, 127, 128, 129, 1891, 2379, 2436, 3009, 3621, 4361, 4401]
>
> (the record I am looking for has an idea of #2436)
>
> I'm not sure if that is a clue or not.
>
> Thanks again.
>
> Bob
>
>
> On Fri, Oct 15, 2010 at 12:00 AM, Pat Allan <[email protected]> wrote:
> ere an
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/thinking-sphinx?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.