Re: Using synonyms API

2015-04-17 Thread Chris Hostetter
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

Re: Using synonyms API

2015-04-15 Thread Mike Thomsen
I also tried the 4.10.4 default example and set up the synonym list like this: { "responseHeader":{ "status":0, "QTime":2}, "synonymMappings":{ "initArgs":{ "ignoreCase":true, "format":"solr"}, "initializedOn":"2015-04-15T20:26:02.072Z", "managedMap":{ "Ba

Re: Using synonyms API

2015-04-15 Thread Mike Thomsen
Thanks. It turned out to be caused by me not using the ManagedSynonymFilterFactory. I added the dummy managed_en field: and defined a field that uses it in the schema block like so: Here is the output of the managed synonym listing: { "respon

Re: Using synonyms API

2015-04-15 Thread Yonik Seeley
I just tried this quickly on trunk and it still works. /opt/code/lusolr_trunk$ curl http://localhost:8983/solr/techproducts/schema/analysis/synonyms/english { "responseHeader":{ "status":0, "QTime":234}, "synonymMappings":{ "initArgs":{ "ignoreCase":true, "format":"sol

Using synonyms API

2015-04-15 Thread Mike Thomsen
We recently upgraded from 4.5.0 to 4.10.4. I tried getting a list of our synonyms like this: http://localhost/solr/default-collection/schema/analysis/synonyms/english I got a not found error. I found this page on new features in 4.8 http://yonik.com/solr-4-8-features/ Do we have to do something