Hi Jeremy

enable_star is not deprecated - allow_star is (which was my first  
attempt at allowing people to set the enable_star Sphinx setting,  
before I realised that using Sphinx's name for it is better).

allow_star should still work though (although for a while it didn't -  
I got lazy).

I'd not heard of that bug before - is this Sphinx 0.9.9? Because I'm  
sure I've used enable_star and morphologies together before.

-- 
Pat

On 20/01/2009, at 9:32 PM, Jeremy Peterson wrote:

> Pat,
>
> Could you give more details on enable_star being deprecated.  I'd  
> really like  there allow the star in searches.
>
> I had the same error when running ts:index.  Apparently there is a  
> bug with enable_star and I was able to fix it by putting this in the  
> index
>     set_property :enable_star => true
>     set_property :morphology => 'none'
>
> Hope that helps someone else,
>
> Jeremy
>
> On Sun, Jan 18, 2009 at 7:50 PM, Pat Allan <p...@freelancing- 
> gods.com> wrote:
>
> Hi Jörg
>
> You'll want to just use enable_star and one of min_prefix_len or
> min_infix_len set to 1 or higher. allow_star is deprecated (which
> isn't widely documented, so that's my fault). Although, your error
> message isn't something I've seen before, but could be related to  
> that.
>
> Worth a shot, anyway.
>
> --
> Pat
>
> On 19/01/2009, at 5:35 AM, Jörg Battermann wrote:
>
> >
> > Hello there,
> >
> > Quick Q: I have the following combo defined in my config/sphinx.yml
> > file:
> >
> > enable_star: true
> > allow_star: true
> >
> > ... which results into this for rake ts:in after a rake ts:config :
> >
> > indexer --config /Users/joerg/Development/dw.se-backend/config/
> > development.sphinx.conf --all --rotate
> > Sphinx 0.9.8-release (r1371)
> > Copyright (c) 2001-2008, Andrew Aksyonoff
> >
> > using config file '/Users/joerg/Development/dw.se-backend/config/
> > development.sphinx.conf'...
> > indexing index 'user_core'...
> > ERROR: index 'user_core': infixes and morphology are enabled,
> > enable_star=0indexing index 'user_delta'...
> > ERROR: index 'user_delta': infixes and morphology are enabled,
> > enable_star=0distributed index 'user' can not be directly indexed;
> > skipping.
> >
> >
> > What exactly am I doing wrong here?
> >
> >
> > Cheers and thanks,
> > -J
> > >
>
>
>
>
>
> >


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