Re: Facet on certain characters

2007-08-03 Thread Mike Klaas
On 3-Aug-07, at 8:38 AM, Andrew Nagy wrote: Hello, I was wondering if there is a way to facet on certain characters of a field. For example, I would like to get a facet count on how many of my titles start with the letter A, B, C, etc. Is this possible with SOLR? Will's solution i

RE: Facet on certain characters

2007-08-03 Thread Will Johnson
Create a new field with the first character only, facet on that. Less memory, less overall work. - will -Original Message- From: Andrew Nagy [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 11:38 AM To: solr-user@lucene.apache.org Subject: Facet on certain characters Hello, I

Facet on certain characters

2007-08-03 Thread Andrew Nagy
Hello, I was wondering if there is a way to facet on certain characters of a field. For example, I would like to get a facet count on how many of my titles start with the letter A, B, C, etc. Is this possible with SOLR? Thanks Andrew