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
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
--- 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
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
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
: 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
: 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
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
: 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.
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
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
11 matches
Mail list logo