hi
I have some issues with search result relevancy.
default query operator is OR
i search for iphone 4. I m not sure how would i get iphone 4 results to show
first.
I tried
?q=iphone+4&start=0&wt=json&indent=on&fl=displayName,score&qt=dismax&fq=productType:Device&debug=true&pf=displayName&ps=3
proximity pf and ps but still no use.
{
"responseHeader":{
"status":0,
"QTime":62,
"params":{
"fl":"displayName,score",
"wt":"json",
"ps":"3",
"fq":"productType:Device",
"rows":"10",
"indent":"on",
"pf":"displayName",
"qt":"dismax",
"debug":"true",
"start":"0",
"q":"iphone 4"}},
"response":{"numFound":25,"start":0,"maxScore":1.1627537,"docs":[
{
"displayName":"Apple iPhone 3GS - 32 GB - Black",
"score":1.1627537},
{
"displayName":"Apple iPhone 3GS - 8 GB - Black",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 - 16 GB - White",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 - 16 GB - Black",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 - 32 GB - White",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 - 32 GB - Black",
"score":1.1627537},
{
"displayName":"Apple iPhone 3GS - 8 GB - Black (Refurb)",
"score":1.1627537},
{
"displayName":"Apple iPhone 3GS (Refurb Cosmetic Blemish) - 8GB",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 - 32 GB - Black (Refurb)",
"score":1.1627537},
{
"displayName":"Apple iPhone 4 (Refurb Cosmetic Blemish) - 16GB -
Black",
"score":1.1301228}]
},
I can add debug output if required.
Any help?
--
View this message in context:
http://lucene.472066.n3.nabble.com/word-proximity-and-queryoperator-OR-tp3299729p3299729.html
Sent from the Solr - User mailing list archive at Nabble.com.