Re: sort by an attribute values sequence

2014-04-03 Thread Ahmet Arslan
Hi Santosh, Which field do you sort on? You can multiple sort criteria, like sort=someFied asc, score desc On Thursday, April 3, 2014 9:54 AM, santosh sidnal wrote: Hi Ahmet/All, Thanks for the reply. The Solution of boosting those product type values will work fine if i don't apply any 's

Re: sort by an attribute values sequence

2014-04-03 Thread Shawn Heisey
On 4/3/2014 12:53 AM, santosh sidnal wrote: > But my requirement is i want sorting to be applied and boost a > particular/some attribute values (C,B etc) in the sorted result, which is > not working. Looks like sorting will take precedence over boosting. Correct > me if i am wrong. If you use a so

Re: sort by an attribute values sequence

2014-04-02 Thread santosh sidnal
Hi Ahmet/All, Thanks for the reply. The Solution of boosting those product type values will work fine if i don't apply any 'sort' . But my requirement is i want sorting to be applied and boost a particular/some attribute values (C,B etc) in the sorted result, which is not working. Looks like sor

Re: sort by an attribute values sequence

2014-04-02 Thread Ahmet Arslan
Hi, How many distinct producttype do you have? May be  q=C^5000 OR B^4000 OR A^3000 OR D&df=producttype could work. If you can came up with a function that takes maximum value when producttype=C … etc you can sort by function queries too. http://wiki.apache.org/solr/FunctionQuery Ahmet On

Re: sort by an attribute values sequence

2014-04-02 Thread santosh sidnal
Re-sending my e-mail. any pointers/ links for the issue will help me lot. Thanks in advance. On Tue, Apr 1, 2014 at 4:25 PM, santosh sidnal wrote: > Hi All, > > We have a specific requirement of sorting the products as per a specific > attribute value sequence. Any pointer or source of info wou

sort by an attribute values sequence

2014-04-01 Thread santosh sidnal
Hi All, We have a specific requirement of sorting the products as per a specific attribute value sequence. Any pointer or source of info would help us. Example of the scenario; Let's say for search result i want to sort results based on a attribute producttype. Where producttype has following va