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
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
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
>
> 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
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
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
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
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
;
>> -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
-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,
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.
(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
12 matches
Mail list logo