Hi Francesco,

On 29/09/16 10:47, marcyborg wrote:
Hi Andrea,
Thanks very much for your complete reply.
You're right, I'm new about Solr, so I'm sorry if'm asking trivial
questions, or I'not exaustive in my questions!

About the scenario, I try to explain it:
I have to load the thesaurus in Solr core, and the user would be able to
query that thesaurus, when searching a keyword.
Getting into the details: I search a keyword T, if this T has BT and/or NT,
I'd like to retrive that terms, and show that.
If you mean "user enters term T; in the thesaurus it is associated to a BT and NT1, NT2; I want to expand the search using all those terms" then I think the most trivial thing you can do is a simple Java standalone program (or whatever language you prefer) that loads the thesaurus and convert it in the plain synonyms format. Then, you can see in the Solr reference guide [1] how to configure that (the default configuration should already have set up, if I remember well, just a matter of replacing the default synynoms.txt file included in the example).

I suggest you to start reading the reference guide and then go deeper into the synonyms topic, which can be very tricky (the "pain in the ass" Hoss mentioned in his answer).

Best,
Andrea

[1] https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-SynonymFilter
I hope this clarifies the scenario!

Ciao,
Francesco



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-hierarchical-search-hyponyms-hypernyms-tp4298385p4298569.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to