Update synonyms.txt file based on values in the database

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Update synonyms.txt file based on values in the database

seeteshh
How do I update the synonyms.txt file if the data is being fetched from a
database say PostgreSQL since I wont be able to update the synonmys.txt file
every time manually and also the data is related to a table and not known to
Solr.

I am using Apache Solr 8.4.

Regards,

Seetesh hindlekar



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Seetesh Hindlekar
Reply | Threaded
Open this post in threaded view
|

Re: Update synonyms.txt file based on values in the database

Charlie Hull-3
Try looking into Managed Resources:
https://lucene.apache.org/solr/guide/8_4/managed-resources.html

Charlie

On 15/01/2020 10:35, seeteshh wrote:

> How do I update the synonyms.txt file if the data is being fetched from a
> database say PostgreSQL since I wont be able to update the synonmys.txt file
> every time manually and also the data is related to a table and not known to
> Solr.
>
> I am using Apache Solr 8.4.
>
> Regards,
>
> Seetesh hindlekar
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


--
Charlie Hull
OpenSource Connections, previously Flax

tel/fax: +44 (0)8700 118334
mobile:  +44 (0)7767 825828
web: www.o19s.com