Re: how to apply sort and search both on multivalued field in solr

2011-11-03 Thread Erick Erickson
Right, the behavior when sorting on a multivalued field is not defined, so results are unreliable. There's nothing that I know of that'll allow your sort to occur on the matched terms in a multiValued field. But, again, defining correct behavior here isn't easy. What if you searched for two terms

Re: how to apply sort and search both on multivalued field in solr

2011-11-03 Thread vrpar...@gmail.com
Thanks Erick, what i given 'abc',...etc... its values of one multivalued field in one document, but might be its confusing. lets say, i have one field named Array1 has multivalued=true now i want to Search on Array1 , but i want only affected values (which i can get in "highlighting"), now

Re: how to apply sort and search both on multivalued field in solr

2011-11-03 Thread Erick Erickson
What does "sorting on a multivalued field" mean? Should the document appear, in your example, in the a's? c's? e's? p's? There's no logical place to sort a document into a list when there's more than one token that makes sense in the general case that I can think of Why wouldn't searching oh y