http://wiki.apache.org/solr/CommonQueryParameters?action=fullsearch&context=180&value=slop&fullsearch=Text

On Fri, Sep 17, 2010 at 10:55 AM, Dennis Gearon <gear...@sbcglobal.net> wrote:
> HOw does one 'vary the slop'?
>
> Dennis Gearon
>
> Signature Warning
> ----------------
> EARTH has a Right To Life,
>  otherwise we all die.
>
> Read 'Hot, Flat, and Crowded'
> Laugh at http://www.yert.com/film.php
>
>
> --- On Fri, 9/17/10, Erick Erickson <erickerick...@gmail.com> wrote:
>
>> From: Erick Erickson <erickerick...@gmail.com>
>> Subject: Re: Can i do relavence and sorting together?
>> To: solr-user@lucene.apache.org
>> Date: Friday, September 17, 2010, 8:58 AM
>> The problem, and it's a practical
>> one, is that terms usually have to be
>> pretty
>> close to each other for proximity to matter, and you can
>> get this with
>> phrase queries by varying the slop.
>>
>> FWIW
>> Erick
>>
>> On Fri, Sep 17, 2010 at 11:05 AM, Andrew Cogan
>> <aco...@wordsearchbible.com>wrote:
>>
>> > I'm a total Lucene/SOLR newbie, and I'm surprised to
>> see that when there
>> > are
>> > multiple search terms, term proximity isn't part of
>> the scoring process.
>> > Has
>> > anyone on the list done custom scoring that weights
>> proximity?
>> >
>> > Andy Cogan
>> >
>> > -----Original Message-----
>> > From: kenf_nc [mailto:ken.fos...@realestate.com]
>> > Sent: Friday, September 17, 2010 7:06 AM
>> > To: solr-user@lucene.apache.org
>> > Subject: Re: Can i do relavence and sorting together?
>> >
>> >
>> > Those are at least 3 different questions. Easiest
>> first, sorting.
>> >   add
>> &sort=ad_post_date+desc   (or asc)
>> for sorting on date,
>> > descending or ascending
>> >
>> > check out how
>> > http://www.supermind.org/blog/378/lucene-scoring-for-dummies
>> > Lucene  scores by default. It might close to what
>> you want. The only thing
>> > it isn't doing that you are looking for is the
>> relative distance between
>> > keywords in a document.
>> >
>> > You can add a boost to the ad_title and ad_description
>> fields to make them
>> > more important to your search.
>> >
>> > My guess is, although I haven't done this myself, the
>> default Scoring
>> > algorithm can be augmented or replaced with your own.
>> That may be a route
>> > to
>> > take if you are comfortable with java.
>> > --
>> > View this message in context:
>> >
>> > http://lucene.472066.n3.nabble.com/Can-i-do-relavence-and-sorting-together-t
>> > p1516587p1516691.html
>> > Sent from the Solr - User mailing list archive at
>> Nabble.com.
>> >
>> >
>>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to