On 23/02/2009, at 11:57 AM, court3nay wrote:

> On Feb 20, 3:36 pm, Pat Allan <[email protected]> wrote:
>> Hi Court3nay,
>>
>> I'm not seeing the link between the forum post and your issue. Not
>> feeling particularly awake tho.
>>
>> That aside, sphinx converts string attributes to integers depending  
>> on
>> alphabetical ordering, so it's not easy to filter on strings. If you
>> were storing gender as an integer somehow, it'd be fine. Given you'd
>> only be having two values tho, alpha ordering should be easy to  
>> guess,
>> so try 0 for f, 1 for m (or 1 and 2). Whether that's reliable, I've  
>> no
>> idea.
>
> I guess this is the issue.. it rather silently dies when you try
> a :with on a "has" string.  I'll convert to integers.

I have received a patch from someone to CRC strings to integers, and  
then autotranslate filters for those 'string' attributes. It's not  
merged in yet though... and I'm struggling to find time for larger  
patches, so can't promise when it'll appear. Switching to ints is the  
best approach for the moment.

> My original question was "how do I see what attributes sphinx is
> actually searching on"..

Logging is pretty minimal in TS. Patches welcome to flesh it out with  
proper log levels.

Cheers

-- 
Pat

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to