Re: Multiple sorting on text fields

2010-09-13 Thread Dennis Gearon
/10, Stanislaw wrote: > From: Stanislaw > Subject: Re: Multiple sorting on text fields > To: solr-user@lucene.apache.org > Date: Monday, September 13, 2010, 2:56 AM > Hi Dennis, > thanks for reply. > Please explain me what filter do you mean. > > I'm searc

Re: Multiple sorting on text fields

2010-09-13 Thread Erick Erickson
A couple of things come to mind: 1> what happens if you remove the sort clauses? Because I suspect they're irrelevant and your duplicate issue is something different. 2> SOLR admin should let you determine this. 3> Please show us the configurations that make you sure that the documen

Re: Multiple sorting on text fields

2010-09-13 Thread Stanislaw
Hi Dennis, thanks for reply. Please explain me what filter do you mean. I'm searching only on one field with names: query.setQuery(suchstring); then I'm adding two sortings on another fields: query.addSortField("type", SolrQuery.ORDER.asc); query.addSortField("sortName", SolrQuery.ORDER.asc); th

Re: Multiple sorting on text fields

2010-09-13 Thread Dennis Gearon
My guess is two things are happening: 1/ Your combination of filters is in parallel,or an OR expression. This I think for sure maybe, seen next. 2/ To get 3 duplicate results, your custom filter AND the OR expression above have to be working togther, or it's possible that your customer f