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
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? thanks Joel On Oct 28, 2009, at 6:42 PM, Martijn v Groningen wrote: I think that is not a problem, because your are only storing

Re: weird problem with letters S and T

2009-10-28 Thread Martijn v Groningen
I think that is not a problem, because your are only storing one character per field. There are other text field types that do not have the stop word filter, so give your first letter field that field type. In this way stopword filter analyser is only disabled for searches on the first letter field

Re: weird problem with letters S and T

2009-10-28 Thread Joel Nylund
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 particular query to ignore stopwords thanks Joel On Oct 28, 2009, at 6:20 PM, Bernadette Houghton wrote: Hi Joel, I had a similar

RE: weird problem with letters S and T

2009-10-28 Thread Bernadette Houghton
Hi Joel, I had a similar issue the other day; in my case the solution turned out to be that the letters were stopwords. Don't know if this is your answer, but worth checking. Bern -Original Message- From: Joel Nylund [mailto:jnyl...@yahoo.com] Sent: Thursday, 29 October 2009 9:17 AM To: