You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by nick19701 <to...@yahoo.com> on 2007/03/08 00:48:42 UTC

synonym filter fix

About this synonym filter fix:
http://issues.apache.org/jira/browse/SOLR-167
http://issues.apache.org/jira/browse/SOLR-167 

I tried today's solr build. It seems the verbose analysis of the index
analyzer still has the same symptom.
should I try another build? Or maybe my tomcat is not using the latest
build?
-- 
View this message in context: http://www.nabble.com/synonym-filter-fix-tf3365934.html#a9365249
Sent from the Solr - User mailing list archive at Nabble.com.


Re: [2] synonym filter fix

Posted by Mike Klaas <mi...@gmail.com>.
On 3/7/07, nick19701 <to...@yahoo.com> wrote:

>
> thanks mike for your confirmation. it turns out to be tomcat's problem.
> even though the new build was within tomcat's reach, it didn't use it.
> After I deleted the folders under tomcat/webapps, the new build was picked
> up immediately and everything works perfectly.

Great!  Thanks for your bug report.

-Mike

Re: [2] synonym filter fix

Posted by nick19701 <to...@yahoo.com>.

Mike Klaas wrote:
> 
> 
> Using the latest solr trunk, the error I reproduced before seems fixed
> (see below).  Note that if you are using term vectors with
> highlighting, you'll have to reindex.
> 
> org.apache.solr.analysis.SynonymFilterFactory {expand=true,
> ignoreCase=true, synonyms=synonyms.txt}
> term position 	1	2	3	4	5	6	7	8	9	10	11	12	13
> term text 	best	buy	-	Acer	Aspire	AS5610-2273	-	$599.	Windows	vista,	1	GB
> RAM
> bestbuy	gib
> bb	gigabyte
> gigabytes
> term type 	word	word	word	word	word	word	word	word	word	word	word	word
> word
> word	word
> word	word
> word
> source start,end
> 	0,8	0,8	9,10	11,15	16,22	23,34	35,36	37,42	43,50	51,57	58,59	60,62	63,66
> 0,8	60,62
> 0,8	60,62
> 60,62
> 
> 

thanks mike for your confirmation. it turns out to be tomcat's problem.
even though the new build was within tomcat's reach, it didn't use it.
After I deleted the folders under tomcat/webapps, the new build was picked
up immediately and everything works perfectly.


-- 
View this message in context: http://www.nabble.com/synonym-filter-fix-tf3365934.html#a9367473
Sent from the Solr - User mailing list archive at Nabble.com.


Re: synonym filter fix

Posted by Mike Klaas <mi...@gmail.com>.
On 3/7/07, nick19701 <to...@yahoo.com> wrote:
>
> About this synonym filter fix:
> http://issues.apache.org/jira/browse/SOLR-167
> http://issues.apache.org/jira/browse/SOLR-167
>
> I tried today's solr build. It seems the verbose analysis of the index
> analyzer still has the same symptom.
> should I try another build? Or maybe my tomcat is not using the latest
> build?

Using the latest solr trunk, the error I reproduced before seems fixed
(see below).  Note that if you are using term vectors with
highlighting, you'll have to reindex.

org.apache.solr.analysis.SynonymFilterFactory {expand=true,
ignoreCase=true, synonyms=synonyms.txt}
term position 	1	2	3	4	5	6	7	8	9	10	11	12	13
term text 	best	buy	-	Acer	Aspire	AS5610-2273	-	$599.	Windows	vista,	1	GB	RAM
bestbuy	gib
bb	gigabyte
gigabytes
term type 	word	word	word	word	word	word	word	word	word	word	word	word	word
word	word
word	word
word
source start,end
	0,8	0,8	9,10	11,15	16,22	23,34	35,36	37,42	43,50	51,57	58,59	60,62	63,66
0,8	60,62
0,8	60,62
60,62