Hi Morten

(Two months later) just pushed a change to GitHub that allows setting  
all Sphinx config options in sphinx.yml (and where desired,  
set_property method calls in define_index). Configuration is also now  
a singleton.

Cheers

-- 
Pat

On 22/08/2008, at 3:42 PM, Pat Allan wrote:

>
> Fair point. Good way to refactor the Configuration class. I'll see
> what I can do.
>
> -- 
> Pat
>
> On 22/08/2008, at 8:36 AM, Morten wrote:
>
>>
>>
>> I was more thinking
>>
>> min_word_len
>> sql_range_step
>>
>> And so on. The "supported" attributes in TS are hard coded in
>> configuration.rb.
>>
>> As rake ts:in implies rake ts:config, the procedure of maintaining  
>> the
>> sphinx .conf files becomes quite manual when once has to insert the
>> "unsupported" attributes each time the config file is rebuilt (there
>> are work arounds, but ideally TS would be able to support the
>> attributes or not overwrite manual changes).
>>
>> Br,
>>
>> Morten
>>
>>
>>
>> On Aug 21, 4:52 pm, Pat Allan <[EMAIL PROTECTED]> wrote:
>>> Marten
>>>
>>> All the attribute times are supported - ints, floats, datetimes as
>>> timestamps, booleans, strings-to-ordinals and MVA's. Is something  
>>> not
>>> working for you?
>>>
>>> --
>>> Pat
>>>
>>> On 21/08/2008, at 3:01 PM, Morten wrote:
>>>
>>>
>>>
>>>> Hi,
>>>
>>>> I'm wondering if there's a reason there's no direct support for all
>>>> sphinx attributes?
>>>> http://www.sphinxsearch.com/doc.html#attributes
>>>
>>>> Rather than cherry picking the ones we like in configuration.rb, we
>>>> could check on the attribute name and map it against those  
>>>> supported
>>>> by sphinx, and place it where appropriate (index or source), or
>>>> write
>>>> a warning if the attribute name (via sphinx.yml) is unknown.
>>>
>>>> I'd love to submit a patch, but I suspect that Pat is coming up
>>>> with a
>>>> new release shortly :-)
>>>
>>>> Morten
>>>
>>>
>>>
>
> >


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