Thank you very much!

Forgive me, but I'm still having some trouble understanding:

qs = the maximum number of words apart the match can be
ps = ? - something that affects boosting, but how?

On Thu, Oct 7, 2010 at 12:57 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> phrase slop is about proximity search.
>
>
> http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Proximity%20Searches
>
> ps (Phrase Slop) affects boosting, if you play with ps value, numFound and
> result set do not change. But the order of result set change. This is about
> the phrase query that is constructed out of the entire "q" param.
>
> qs (Query Phrase Slop) affects matching. If you play with qs, numFound
> changes. This parameter is about when you have explicit phrase query in your
> raw query. i.e. &q="apache lucene"
>
> --- On Thu, 10/7/10, David Boxenhorn <da...@lookin2.com> wrote:
>
> > From: David Boxenhorn <da...@lookin2.com>
> > Subject: Re: Query slop vs. phrase slop
> > To: solr-user@lucene.apache.org
> > Date: Thursday, October 7, 2010, 11:34 AM
> > Does anybody know the answer to
> > this?
> >
> > On Tue, Oct 5, 2010 at 7:19 PM, David Boxenhorn <da...@lookin2.com>
> > wrote:
> >
> > > Thank you. I am talking about dismax's parameters.
> > >
> > > This is how I understand things, please tell me where
> > I'm wrong:
> > >
> > > Query slop (qs) = how many words you can move the
> > query to match the text.
> > > Phrase slop (ps) (when used in conjunction with
> > &pf=text - is there another
> > > possibility?) = how many words you can move the text
> > to match the query.
> > >
> > > How are those two different in terms of the results
> > they produce?
> > >
> > > On Tue, Oct 5, 2010 at 7:08 PM, Ahmet Arslan <iori...@yahoo.com>
> > wrote:
> > >
> > >> > Can anyone explain to me the
> > >> > practical difference (i.e. in terms of
> > results)
> > >> > between query slop and phrase slop?
> > >>
> > >> I think you are asking about dismax's parameters,
> > right?
> > >>
> > >> ps (Phrase Slop) is about pf parameter.
> > >>
> > >> qs (Query Phrase Slop) : You cannot use tilde
> > operator with dismax, so
> > >> this parameter is used instead.
> > >>
> > >> luceneQParser : "term1 term2"~3 => dismaxQParer
> > : q="term1 term2"&qs=3
> > >>
> > >>
> > >>
> > >>
> > >
> >
>
>
>
>

Reply via email to