Hi Alessandro Benedetti,
Can you check what happens to the below given product_name , just check its
score
"product_name":"LAPTOP BATTERY DELL Inspiron 6400 1501 E1505 RD859 UD267
XU937"
How is this product comes , ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Ex
Hi Jack,
2015-06-23 6:27 GMT+01:00 JACK :
> Hi Alessandro Benedetti,
>
> I have changed the query like this.
>
>
> /select?q=("dell+laptop"~13+OR+"dell+laptop")&df=product_name&defType=edismax&qf=product_name^0.001+dummy_product_name^2&fl=product_name&wt=json&indent=true&debug=true
>
Pardon
Hi Alessandro Benedetti,
I have changed the query like this.
/select?q=("dell+laptop"~13+OR+"dell+laptop")&df=product_name&defType=edismax&qf=product_name^0.001+dummy_product_name^2&fl=product_name&wt=json&indent=true&debug=true
The corresponding results also given in the below link.Now am
Your posted terms doesn't make a lot of sense …
I simply indexed your content in a text_general field.
Without omitting norms or applying any deep analysis.
And I got the expected results.
You should use the analysis tool with your different inputs, taking a look
to the token stream produced.
Mayb
Hi Alessandro Benedetti,
Its my Analysis value index
WT
text
raw_bytes
start
end
positionLength
type
position
laptop
[6c 61 70 74 6f 70]
0
6
1
word
1
bag
[62 61 67]
7
10
1
word
2
SF
text
raw_bytes
start
end
positionLength
type
position
laptop
[6c 61 7
Using your same data I get the expected ranking and not yours.
I am using a simple analysis so I would invite you to analyse the analysis
chain in first instance.
as a second suggestion, are you omitting or not omitting norms ?
By default they should not be omitted.
2015-06-15 11:13 GMT+01:00 JACK
Hi Alessandro Benedetti,
The query is
http://localhost:8983/solr/MYDBCORE/select?q=product_name:(laptop+bag)&wt=json&indent=true
1.Dell Inspiron 3542 Laptop (Black) without Laptop Bag
2.Dell 3542 15-inch Laptop with Laptop Bag by Dell
3.Dell Inspiron N3137 11-inch Laptop without Laptop Bag by De
I read you are using a really deep analysed field type.
Let's forget about the dummy copy field.
Can you show me based on your main field, an example of query, and an
example of first 20 results ?
Showing me the ranking you get and the ranking you expect ?
Cheers
2015-06-15 10:39 GMT+01:00 Alessa
2015-06-12 17:53 GMT+01:00 JACK :
> As explained above, actually I have around 10 lack data not 5 row.
This is not changing how the edismax and norms in Solr work. So it's not a
point.
> It's not
> about synonyms . When I checked in the FAQ page of Solr wiki, it is found
> that if we need to ge
Hi chillra,
I have changed the index and query filed configuration to
But still my problem not solved , it won't resolve my problem.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211788.html
Sent from the Solr - U
Andy -
-Original Message-
From: JACK [mailto:mfal...@gmail.com]
Sent: Friday, June 12, 2015 12:54 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr Exact match boost Reduce the results
As explained above, actually I have around 10 lack data not 5 row. It's not
about synonym
As explained above, actually I have around 10 lack data not 5 row. It's not
about synonyms . When I checked in the FAQ page of Solr wiki, it is found
that if we need to get exact match results first, use a copy field with
different configuration. That's why I followed this way.
--
View this mes
I did a simple test using out of the Box Edismax ( not even configuring
specific params or the phrase field).
As expected the exact match comes first.
This is because of the norms and the natural way the Edismax boost exact
matches.
Are you sure you are using a proper query parser ?
I did nothing
The quoted search words will be different and it will be any word or more
than one word. In the query it's just example
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Exact-match-boost-Reduce-the-results-tp4211352p4211410.html
Sent from the Solr - User mailing list ar
Hi, I have to search on the field product_name.It is found that in order to
get exact matches first, I made one copy field named as dummy_name with the
above field definition.And while query, just boost the copy field. I done
this. So as to get exact matches I need to put quotes around the search
w
Are we talking about a title field ?
Querying only that title field ?
And the texts you put are the titles ?
If this is the case and you are not omitting norms ( because norms boost
short field containing the query terms).
The second results should be the ones expected.
Can you describe a little
Hi Alessandro Benedetti ,
What i meant is that suppose if i have items like this
dell laptop with bag
dell laptop
dell laptop without bag
dell inspiron laptop with bag
if i query for "dell laptop", the result should be like this
dell laptop
dell laptop with bag
dell laptop without bag
dell inspir
Hi jack, do you mean exact match over the synonyms ?
In that case, with your Analyzer you are not going to be able to see that.
You apply index analysis synonym expansion.
So for your Index there is no difference between the synonyms, there is no
"exact match" .
In this case I would suggest you to
18 matches
Mail list logo