RE: Restart SolR and not Tomcat

2011-02-10 Thread Brad Dewar
I don't know: either way works for me via cURL. I can only say double check your typing (make sure you're passing the user/password you think you are), and double check server.xml. Oh, the tomcat roles were tightened up a bit in tomcat 7. If you're using tomcat 7 (especially if you've

RE: sort problem

2011-01-17 Thread Brad Dewar
Haha, Yes, you're not wrong. The field you are sorting on should be a fieldtype that has the lowercase filter applied. You'll probably have to re-index your data, unless you happen to already have such a field (via copyField, perhaps). Brad -Original Message- From: Salman Akram

custom sorting / help overriding FieldComparator

2010-09-09 Thread Brad Dewar
Hi I'm trying to get my (overly complex and strange) product IDs sorting properly in Solr. Approaches I've tried so far, that I've given up on for various reasons: --Normalizing/padding the IDs so they naturally sort alphabetically/alphanumerically. --Splitting the ID into multiple Solr fields

multiple values

2010-08-27 Thread Brad Dewar
Hi In a multiValued field, I want to write a query that returns all the documents that actually have more than 1 value in that field. (don't care what the value is). Maybe this should be obvious, but I just can't think of how to formulate such a query. Any help? Thanks, Brad

RE: sort order of missing items

2010-08-20 Thread Brad Dewar
-user@lucene.apache.org Subject: Re: sort order of missing items On Tue, Aug 17, 2010 at 4:10 PM, Brad Dewar bde...@stfx.ca wrote: When items are sorted, are all the docs with the sort field missing considered tied in terms of their sort order, or are they indeterminate, or do they have some

sort order of missing items

2010-08-17 Thread Brad Dewar
When items are sorted, are all the docs with the sort field missing considered tied in terms of their sort order, or are they indeterminate, or do they have some arbitrary order imposed on them (e.g. _docid_)? For example, would b be considered as part of the sort in the following query, or