RE: Reverse sort facet query [SOLR-1672]

2010-01-04 Thread Peter 4U
> Date: Sun, 3 Jan 2010 22:18:33 -0800 > From: hossman_luc...@fucit.org > To: solr-user@lucene.apache.org > Subject: RE: Reverse sort facet query [SOLR-1672] > > > : Yes, I thought about adding some 'new syntax', but I opted for a separate > 'facet.sortorder' parameter, > : > : mainly beca

RE: Reverse sort facet query [SOLR-1672]

2009-12-28 Thread Peter 4U
> in Solr 1.4 the boolean syntax was deprecated in place of keywords that > are more meaninful... > http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort > > ... "count" and "index" replaced "true" and "false" Yes, I thought about adding some 'new syntax', but I opted for a separate 'f

RE: Reverse sort facet query

2009-12-16 Thread Peter 4U
Hello, Thanks very much for your answer. I'll have a look at SimpleFacets.java to look at patching it. I should think the sorting bit will be relatively straightforward. The tricky bit is how to submit the request via the query interface - there's only a boolean for facet sorting - woul

Reverse sort facet query

2009-12-10 Thread Peter 4U
Hello Forum, I've had a search in the mail archives and on the 'net, but I'm sure I wouldn't be the first to have a requirement for this: Does anyone know of a good way to perform a reverse-sorted facet query (i.e. rarest first)? As you know facet.sort toggles between sorting on coun

RE: Facet query with special characters

2009-12-09 Thread Peter 4U
Hi, Thanks for your help and answers. I believe I have isolated the issue, and yes, it was 'schema/write'-related. Basically, the issue was this: All indexing is performed via solrj objects (to an EmbeddedSolrServer instance), and this was ported over from 'raw' Lucene java indexing cod

RE: Facet query with special characters

2009-12-08 Thread Peter 4U
Hello Hoss, Many thanks for your answer. That's very interesting. So, are you saying this is an issue on the index side, rather than the query side? Note that I am (supposed to be) indexing/searching without analysis tokenization (if that's the correct term) - i.e. field values like 'pds

RE: Embedded for write, HTTP for read - cache aging

2009-12-07 Thread Peter 4U
or read - cache aging > Date: Mon, 7 Dec 2009 05:49:01 +0100 > > > On Dec 5, 2009, at 12:56 PM, Peter 4U wrote: > > Does anyone know of a way to tell an http SolrServer to reload its > > back-end index (mark cache as dirty) periodically? > > Send a to the HTTP

Embedded for write, HTTP for read - cache aging

2009-12-05 Thread Peter 4U
Hello, Does anyone know of a way to tell an http SolrServer to reload its back-end index (mark cache as dirty) periodically? I have a scenario where an EmbeddedSolrServer is used for writing (for fast indexing), and an CommonsHttpSolrServer for reading (for remote access). If the ht

Answer: RE: Question: Write to Solr but not via http, and still store date_format

2009-12-04 Thread Peter 4U
Oops, of course the answer was staring me in the face! --> Use the EmbeddedSolrServer, rather than the CommonsHttpSolrServer. Live and learn. Live. and learn. Thanks, Peter > From: pete...@hotmail.com > To: solr-user@lucene.apache.org > Subject: Question: Write to Solr but not

Question: Write to Solr but not via http, and still store date_format

2009-12-04 Thread Peter 4U
Hi Solr team, Has anyone been able to write to Solr, keeping things like 'date_format', but indexing directly, rather than via http? I've been indexing using Lucene Java, and this works well and is very fast, except that any data indexed this way doesn't store date_format et al informat

RE: Facet query with special characters

2009-12-03 Thread Peter 4U
Hello Solr Forum, I believe I have found a solution (workaround?) for performing an explicit (non-wildcarded) field query with values that contain special (escaped) characters. Instead of: field:"value-with-escape-chars" change this to: field:["value-with-escape-chars" TO "value-w

Facet query with special characters

2009-12-03 Thread Peter 4U
Hello, I've encountered some strange behaviour in Solr facet querying, and I've not been able to find anything on this on the web. Perhaps someone can shed some light on this? The problem: When performing a facet query where part of the value portion has a special character (a minus sign in