search to multiple value field with all word must matched.

2013-08-29 Thread winsu
Currently i have sample data like this :

doc
int name=nameNice Dress/int
arr name=keyword
  strbest cocktail dress/str
  strplatform complete pumps/str
  strplatform pumps/str
  strslip dress/str
/arr
/doc
I used multiple value for keyword field.

case 1
defType:edismax
qf:keyword
q:cocktail dress
solr will return the data.

case 2
defType:edismax
qf:keyword
q:coctail dress pump
it still return the data, If we see from the sample data, no keyword contain
all this 3 word ('coctail' 'dress' 'pump') in one row of each keyword. How
to make solr not to return this result?

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/search-to-multiple-value-field-with-all-word-must-matched-tp4087219.html
Sent from the Solr - User mailing list archive at Nabble.com.


increase search score of certain category only for certain keyword

2013-06-29 Thread winsu
Hi,

Currently i've certain sample data :
name : summer boot
category : boot shoe

name  : snow boot
category : boot shoe

name : boot pant
category : pants

name : modern boot pant
category : pants

name : modern bootcut
category : pants


If the keyword search boot , how to make the item with category shoe has
higher rank than pants ? 

can we setting at Solr to tell solr for certain keyword we need to give
boot shoe higher rank than other category ?
Thx :)





--
View this message in context: 
http://lucene.472066.n3.nabble.com/increase-search-score-of-certain-category-only-for-certain-keyword-tp4074051.html
Sent from the Solr - User mailing list archive at Nabble.com.