-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Synonyms in db tables
PostPosted: Mon Apr 06, 2009 8:06 am 
Beginner
Beginner

Joined: Tue Feb 03, 2009 12:29 pm
Posts: 49
We are planning to keep synonyms for a particular field in a database table. So we will need to use a custom analyzer. The SynonymAnalyzer from Solr accepts a property file with synonyms. So I think I will need to extend it and customize it to accept a Map of synonyms which are fetched from the db.

Also, my understanding is that this analyzer need to be applied only for indexing. While searching, I can use the StandardAnalyzer itself.

Please do correct me if I'm wrong.



Thanks,
Seema


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 07, 2009 6:51 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
right on both points.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.