lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ben ausden <>
Subject Store matching synonyms only
Date Sat, 23 Jun 2012 18:21:02 GMT

Is it possible to store only the matching synonyms found in a piece of

A use case might be: automatically "tag" documents at index time based on
synonyms.txt, and then retrieve the stored tags at query time.

For example, given the text field:

  "The cat sat on the mat"

and a synonyms.txt file containing:


the resulting tag for this document would be "feline". Multiple synonym
matches would result in multiple tags.

Is this possible with Solr by default, or is the classification/tagging
best done outside Solr before I store the document?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message