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 Carlos Andres Garcia <cg...@innova4j.com> on 2012/05/02 22:31:10 UTC
synonyms
Hello everbody,
I have a doubt with respect to synonyms in Solr, In our company we are lookink for one solution to resolve synonyms from database and not from one text file like SynonymFilterFactory do it.
The idea is save all the synonyms in the database, indexing and they will be ready to one query, but we haven't found one solution from database.
Another idea is create one plugin that extend to SynonymFilterFactory but I don't know if this is posible.
I hope someone can help me.
regards,
Carlos Andrés García García
RE: synonyms
Posted by "Noordeen, Roxy" <Ro...@wwecorp.com>.
Another solution is to write a script to read the database and create the synonyms.txt file, dump the file to solr and reload the core.
This gives you the custom synonym solution.
-----Original Message-----
From: Jack Krupansky [mailto:jack@basetechnology.com]
Sent: Wednesday, May 02, 2012 4:54 PM
To: solr-user@lucene.apache.org
Subject: Re: synonyms
I'm not sure I completely follow, but are you simply saying that you want to
have a synonym filter that reads the synonym table from a database rather
than the current text file? If so, sure, you could develop a replacement for
the current synonym filter which loads its table from a database, but you
would have to develop that code yourself (or get some assistance doing it.)
If that is not what you are trying to do, please explain in a little more
detail.
-- Jack Krupansky
-----Original Message-----
From: Carlos Andres Garcia
Sent: Wednesday, May 02, 2012 4:31 PM
To: solr-user@lucene.apache.org
Subject: synonyms
Hello everbody,
I have a doubt with respect to synonyms in Solr, In our company we are
lookink for one solution to resolve synonyms from database and not from one
text file like SynonymFilterFactory do it.
The idea is save all the synonyms in the database, indexing and they will
be ready to one query, but we haven't found one solution from database.
Another idea is create one plugin that extend to SynonymFilterFactory but I
don't know if this is posible.
I hope someone can help me.
regards,
Carlos Andrés García García
Re: synonyms
Posted by Jack Krupansky <ja...@basetechnology.com>.
I'm not sure I completely follow, but are you simply saying that you want to
have a synonym filter that reads the synonym table from a database rather
than the current text file? If so, sure, you could develop a replacement for
the current synonym filter which loads its table from a database, but you
would have to develop that code yourself (or get some assistance doing it.)
If that is not what you are trying to do, please explain in a little more
detail.
-- Jack Krupansky
-----Original Message-----
From: Carlos Andres Garcia
Sent: Wednesday, May 02, 2012 4:31 PM
To: solr-user@lucene.apache.org
Subject: synonyms
Hello everbody,
I have a doubt with respect to synonyms in Solr, In our company we are
lookink for one solution to resolve synonyms from database and not from one
text file like SynonymFilterFactory do it.
The idea is save all the synonyms in the database, indexing and they will
be ready to one query, but we haven't found one solution from database.
Another idea is create one plugin that extend to SynonymFilterFactory but I
don't know if this is posible.
I hope someone can help me.
regards,
Carlos Andrés García García