Hi Tom,

why not defining three fields in your schema.xml?

One field is the name-field (e.g. Apache or McDonald's) and another field is
the category-name. The last field contains on the category id.

If you define a synonymFilter for query-time-filtering, you don't need to
reindex the whole index. Unfortunately you need to restart your
Solr-instance (or was it only the core? I don't know...) to make recently
added synonyms available at search-time. 

If you set expand = true, a query like "restaurant" could also match fast
food.

The synonym.txt for this usecase looks like:
restaurant => fast food, restaurant

Hope this helps
- Mitch
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-associations-tp742443p742837.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to