Re: Basic Dismax syntax question

2011-02-28 Thread mrw
wrote: > > > --- On Mon, 2/28/11, mrw wrote: > >> From: mrw >> Subject: Basic Dismax syntax question >> To: solr-user@lucene.apache.org >> Date: Monday, February 28, 2011, 7:41 PM >> Say I have an index with first_name >> and last_name fields, and also a cop

Re: Basic Dismax syntax question

2011-02-28 Thread mrw
They're all set to LC. I was just coming up with a safe example to post. It sounds like you don't see an issue with the syntax we're using? Thanks tjpoe wrote: > > i noticed that your search terms are using caps vs lower case, are your > search fields perhaps not set to lowercase the terms

Re: Basic Dismax syntax question

2011-02-28 Thread Ahmet Arslan
--- On Mon, 2/28/11, mrw wrote: > From: mrw > Subject: Basic Dismax syntax question > To: solr-user@lucene.apache.org > Date: Monday, February 28, 2011, 7:41 PM > Say I have an index with first_name > and last_name fields, and also a copy > field for the full name called

Re: Basic Dismax syntax question

2011-02-28 Thread Tanner Postert
i noticed that your search terms are using caps vs lower case, are your search fields perhaps not set to lowercase the terms and/or the search term? On Mon, Feb 28, 2011 at 10:41 AM, mrw wrote: > Say I have an index with first_name and last_name fields, and also a copy > field for the full name

Basic Dismax syntax question

2011-02-28 Thread mrw
Say I have an index with first_name and last_name fields, and also a copy field for the full name called full_name. Say I add two employees: Napoleon Bonaparte and Napoleon Dynamite. If I search for just the first or last name, or both names, with mm=1, I get the expected results: q=Napoleon&def

Re: tomcat, solr and dismax syntax

2010-09-30 Thread Chris Hostetter
: it turns the plus(es) into spaces. Is this a tomcat setting or a solr : one to stop this happening? How can I get the plus into solr so it : actually means a required word. It's part of the URL specification -- all of your query params (not just the query string) need to be properly URL esca

Re: DisMax Syntax

2008-01-16 Thread Chris Hostetter
: I may be mistaken, but this is not equivalent to my query.In my query i have : matches for x1, matches for x2 without slope and/or boosting and then match : to "x1 x2" (exact match) with slope (~) a and boost (b) in order to have : results with exact match score better. : The total score is the

Re: DisMax Syntax

2008-01-08 Thread s d
I may be mistaken, but this is not equivalent to my query.In my query i have matches for x1, matches for x2 without slope and/or boosting and then match to "x1 x2" (exact match) with slope (~) a and boost (b) in order to have results with exact match score better. The total score is the sum of all

Re: DisMax Syntax

2008-01-08 Thread Chris Hostetter
: User Query: x1 x2 : Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b : : In the standard handler the only way i saw how to make this work was: : field:x1 field:x2 field:"x1 x2"!a^b : : Now that i want to try the DisMax is there a way to implement this without : having duplicate fields? i.

Re: DisMax Syntax

2008-01-08 Thread Yonik Seeley
Please see http://wiki.apache.org/solr/DisMaxRequestHandler -Yonik On Jan 8, 2008 2:40 PM, s d <[EMAIL PROTECTED]> wrote: > User Query: x1 x2 > Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b > > In the standard handler the only way i saw how to make this work was: > field:x1 field:x2 field

DisMax Syntax

2008-01-08 Thread s d
User Query: x1 x2 Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b In the standard handler the only way i saw how to make this work was: field:x1 field:x2 field:"x1 x2"!a^b Now that i want to try the DisMax is there a way to implement this without having duplicate fields? i.e. since the fiel