Re: SOLR results case

2012-01-06 Thread Dave
Hi Juan,

You're correct, the search results casing is working fine. This is my
mistake, I didn't specify that I'm using the Suggester component in order
to drive an auto-completion field on a website. Is there anyway to change
the output of the Suggester to maintain case? Everything is coming out
lower-case.

Thanks!
Dave

On Thu, Jan 5, 2012 at 2:01 PM, Juan Grande juan.gra...@gmail.com wrote:

 Hi Dave,

 Have you tried running a query and taking a look at the results?

 The filters that you define in the fieldType don't affect the way the data
 is *stored*, it affects the way the data is *indexed*. With this I mean
 that the filters affect the way that a query matches a document, and will
 affect other features that rely on the *indexed* values (like faceting) but
 won't affect the way in which results are shown, which depends on the
 *stored* value.

 *Juan*



 On Thu, Jan 5, 2012 at 3:19 PM, Dave dla...@gmail.com wrote:

  Hi Juan,
 
  When I'm storing the content, the field has a LowerCaseFilterFactory
  filter, so that when I'm searching it's not case sensitive. Is there a
 way
  to re-filter the data when it's presented as a result to restore the case
  or convert to Title Case?
 
  Thanks,
  Dave
 
  On Thu, Jan 5, 2012 at 12:41 PM, Juan Grande juan.gra...@gmail.com
  wrote:
 
   Hi Dave,
  
   The stored content (which is returned in the results) isn't modified by
  the
   analyzers, so this shouldn't be a problem. Could you describe in more
   detail what you are doing and the results that you're getting?
  
   Thanks,
  
   *Juan*
  
  
  
   On Thu, Jan 5, 2012 at 2:17 PM, Dave dla...@gmail.com wrote:
  
I'm running all of my indexed data and queries through a
LowerCaseFilterFactory because I don't want to worry about case when
matching. All of my results are titles - is there an easy way to
  restore
case or convert all results to Title Case when returning them? My
  results
are returned as JSON if that makes any difference.
   
Thanks,
Dave
   
  
 



Re: SOLR results case

2012-01-05 Thread Juan Grande
Hi Dave,

The stored content (which is returned in the results) isn't modified by the
analyzers, so this shouldn't be a problem. Could you describe in more
detail what you are doing and the results that you're getting?

Thanks,

*Juan*



On Thu, Jan 5, 2012 at 2:17 PM, Dave dla...@gmail.com wrote:

 I'm running all of my indexed data and queries through a
 LowerCaseFilterFactory because I don't want to worry about case when
 matching. All of my results are titles - is there an easy way to restore
 case or convert all results to Title Case when returning them? My results
 are returned as JSON if that makes any difference.

 Thanks,
 Dave



Re: SOLR results case

2012-01-05 Thread Dave
Hi Juan,

When I'm storing the content, the field has a LowerCaseFilterFactory
filter, so that when I'm searching it's not case sensitive. Is there a way
to re-filter the data when it's presented as a result to restore the case
or convert to Title Case?

Thanks,
Dave

On Thu, Jan 5, 2012 at 12:41 PM, Juan Grande juan.gra...@gmail.com wrote:

 Hi Dave,

 The stored content (which is returned in the results) isn't modified by the
 analyzers, so this shouldn't be a problem. Could you describe in more
 detail what you are doing and the results that you're getting?

 Thanks,

 *Juan*



 On Thu, Jan 5, 2012 at 2:17 PM, Dave dla...@gmail.com wrote:

  I'm running all of my indexed data and queries through a
  LowerCaseFilterFactory because I don't want to worry about case when
  matching. All of my results are titles - is there an easy way to restore
  case or convert all results to Title Case when returning them? My results
  are returned as JSON if that makes any difference.
 
  Thanks,
  Dave
 



Re: SOLR results case

2012-01-05 Thread Juan Grande
Hi Dave,

Have you tried running a query and taking a look at the results?

The filters that you define in the fieldType don't affect the way the data
is *stored*, it affects the way the data is *indexed*. With this I mean
that the filters affect the way that a query matches a document, and will
affect other features that rely on the *indexed* values (like faceting) but
won't affect the way in which results are shown, which depends on the
*stored* value.

*Juan*



On Thu, Jan 5, 2012 at 3:19 PM, Dave dla...@gmail.com wrote:

 Hi Juan,

 When I'm storing the content, the field has a LowerCaseFilterFactory
 filter, so that when I'm searching it's not case sensitive. Is there a way
 to re-filter the data when it's presented as a result to restore the case
 or convert to Title Case?

 Thanks,
 Dave

 On Thu, Jan 5, 2012 at 12:41 PM, Juan Grande juan.gra...@gmail.com
 wrote:

  Hi Dave,
 
  The stored content (which is returned in the results) isn't modified by
 the
  analyzers, so this shouldn't be a problem. Could you describe in more
  detail what you are doing and the results that you're getting?
 
  Thanks,
 
  *Juan*
 
 
 
  On Thu, Jan 5, 2012 at 2:17 PM, Dave dla...@gmail.com wrote:
 
   I'm running all of my indexed data and queries through a
   LowerCaseFilterFactory because I don't want to worry about case when
   matching. All of my results are titles - is there an easy way to
 restore
   case or convert all results to Title Case when returning them? My
 results
   are returned as JSON if that makes any difference.
  
   Thanks,
   Dave