Message from discussion Excerpts still not working on partial matches?
Received: by 10.68.27.68 with SMTP id r4mr939889pbg.15.1309980648206;
Wed, 06 Jul 2011 12:30:48 -0700 (PDT)
Received: by 10.68.37.105 with SMTP id x9ls364737pbj.2.gmail; Wed, 06 Jul 2011
12:30:46 -0700 (PDT)
Received: by 10.68.8.138 with SMTP id r10mr805488pba.81.1309980646194; Wed, 06
Jul 2011 12:30:46 -0700 (PDT)
Received: by j14g2000prn.googlegroups.com with HTTP; Wed, 6 Jul 2011 12:30:46
Date: Wed, 6 Jul 2011 12:30:46 -0700 (PDT)
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30,gzip(gfe)
Subject: Re: Excerpts still not working on partial matches?
From: Sjors <provoostena...@gmail.com>
To: Thinking Sphinx <email@example.com>
Content-Type: text/plain; charset=ISO-8859-1
I wasn't using wildcards, because I want it to return partial matches
without the user typing "*" (especially with autocomplete). So I only
:min_infix_len =3D> 1
:enable_star =3D> 1
all search results have excerpts, so that's good.
As a workaround, I can simply add "*" to all search queries in the
controller so the user doesn't have to type "*".
On 1 jul, 21:14, Pat Allan <p...@freelancing-gods.com> wrote:
> Hi Sjors
> This is now possible in Sphinx - and should be fine with Thinking Sphinx =
provided you're using wildcards in your query. For example:
> =A0 ThinkingSphinx.search('pow*').first.last_name #=3D> "Power"
> =A0 ThinkingSphinx.search('pow*').first.excerpts.last_name #=3D> "<span c=
> How are you using it where it's not working?
> On 01/07/2011, at 8:09 AM, Sjors wrote:
> > I was wondering if this problem is still around or if I'm doing
> > something wrong. In 2009 Pat wrote  that you can't get excerpts on
> > partial matches, that this was due to a "bug" in Sphinx itself and
> > that this might get fixed in the near future.
> > I'm using the latest version of Sphinx from SVN and thinking-sphinx
> > 2.0.5. I can get excerpts on full word matches, but not on partial
> > word matches.
> > Cheers,
> > Sjors
> > 
> > --
> > You received this message because you are subscribed to the Google Grou=
ps "Thinking Sphinx" group.
> > To post to this group, send email to firstname.lastname@example.org.
> > To unsubscribe from this group, send email to thinking-sphinx+unsubscri=
> > For more options, visit this group athttp://groups.google.com/group/thi=