Try creating a document with "Crouton" in the "dummy_stuff" field and then
test queries for both "Crota" and "Crouton"
I suspect what you are seeing is that the mappig is one way -- ie: as if
you had put "Crota => Crouton" in a synonyms.txt file. I don't believe
there is any REST support yet for the "Crota, Crouton" type bidirectional
mappings -- you have to add {"Crouton":["Crota"]}} to the map yourself...
https://issues.apache.org/jira/browse/SOLR-6878
You can also experiement with the Analsis UI screen to sanity check this
for yourself.
: Here is the output of the managed synonym listing:
:
: {
: "responseHeader":{
: "status":0,
: "QTime":343},
: "synonymMappings":{
: "initArgs":{"ignoreCase":false},
: "initializedOn":"2015-04-15T19:13:15.072Z",
: "managedMap":{"Crota":["Crouton"]}}}
:
:
:
: I posted this document successfully and can find it when I search for it
: with this: *dummy_text: Crota*
:
: {
: "id": "stupidtestmessage",
: "label": "Crota, Son of Oryx, lives!",
: "dummy_stuff": [
: "Crota, Son of Oryx, and pretty important dude in the Hive was
: discovered alive and well in the hellmouth today!"
: ]
: }
:
: When I use *dummy_text: Crouton*, nothing comes back. I am pretty confident
: that I am missing something here. Any ideas?
-Hoss
http://www.lucidworks.com/