Re: weird problem with letters S and T

2009-10-29 Thread Joel Nylund
Hey everyone thanks for the help, it seems to be working this am after a restart & reindex (maybe I was just too sleepy last night), and using field type of text_ws. Im curios about the pro's and cons of Michel's approach below, this seems like another good way to do it, is there any differ

Re: weird problem with letters S and T

2009-10-29 Thread Michel Bottan
Hi Joel, If you intend querying for the TITLE which starts with specifics letters, I have another solution which seems to be easier, since you don't need a specific field for the first letter. 1. Create a new type in your schema.xml using the following analyzer

Re: weird problem with letters S and T

2009-10-28 Thread Norberto Meijome
On Wed, 28 Oct 2009 19:20:37 -0400 Joel Nylund wrote: > Well I tried removing those 2 letters from stopwords, didnt seem to > help, I also tried changing the field type to "text_ws", didnt seem to > work. Any other ideas? Hi Joel, if your stop word filter was applied on index, you will have

Re: weird problem with letters S and T

2009-10-28 Thread Avlesh Singh
> > Any ideas, are S and T special chars in query for solr? > Nope, they are NOT. My guess is that - You are using a "text" type field for firstLetterTitle which has the stopword filter applied to it. - Your "stopwords.txt" file contains the characters "s" and "t" because of which the

Re: weird problem with letters S and T

2009-10-28 Thread Dave Searle
nd [mailto:jnyl...@yahoo.com] > Sent: Thursday, 29 October 2009 10:21 AM > To: solr-user@lucene.apache.org > Subject: Re: weird problem with letters S and T > > Well I tried removing those 2 letters from stopwords, didnt seem to > help, I also tried changing the field type to &q

RE: weird problem with letters S and T

2009-10-28 Thread Bernadette Houghton
Joel, did you restart tomcat? Need to restart each time you change schema.xml. bern -Original Message- From: Joel Nylund [mailto:jnyl...@yahoo.com] Sent: Thursday, 29 October 2009 10:21 AM To: solr-user@lucene.apache.org Subject: Re: weird problem with letters S and T Well I tried

RE: weird problem with letters S and T

2009-10-28 Thread Bernadette Houghton
yahoo.com] Sent: Thursday, 29 October 2009 9:31 AM To: solr-user@lucene.apache.org Subject: Re: weird problem with letters S and T Thanks Bern, now that you mention it they are in there, I assume if I remove them it will work, but I probably dont want to do that right? Is there a way for this p

Re: weird problem with letters S and T

2009-10-28 Thread Joel Nylund
che.org Subject: weird problem with letters S and T (I am super new to solr, sorry if this is an easy one) Hi, I want to support an A-Z type view of my data. I have a DataImportHandler that uses sql (my query is complex, but the part that matters is: SELECT f.id, f.title, LEFT(f.title,1) as f

Re: weird problem with letters S and T

2009-10-28 Thread Martijn v Groningen
; >> -Original Message- >> From: Joel Nylund [mailto:jnyl...@yahoo.com] >> Sent: Thursday, 29 October 2009 9:17 AM >> To: solr-user@lucene.apache.org >> Subject: weird problem with letters S and T >> >> (I am super new to solr, sorry if this is an easy o

Re: weird problem with letters S and T

2009-10-28 Thread Joel Nylund
-user@lucene.apache.org Subject: weird problem with letters S and T (I am super new to solr, sorry if this is an easy one) Hi, I want to support an A-Z type view of my data. I have a DataImportHandler that uses sql (my query is complex, but the part that matters is: SELECT f.id, f.title, LEFT(f.title,

RE: weird problem with letters S and T

2009-10-28 Thread Bernadette Houghton
AM To: solr-user@lucene.apache.org Subject: weird problem with letters S and T (I am super new to solr, sorry if this is an easy one) Hi, I want to support an A-Z type view of my data. I have a DataImportHandler that uses sql (my query is complex, but the part that matters is: SELECT f.id, f.

weird problem with letters S and T

2009-10-28 Thread Joel Nylund
(I am super new to solr, sorry if this is an easy one) Hi, I want to support an A-Z type view of my data. I have a DataImportHandler that uses sql (my query is complex, but the part that matters is: SELECT f.id, f.title, LEFT(f.title,1) as firstLetterTitle FROM Foo f I can create this index