Closed xiaohan2012 closed 8 years ago
Hello. The text tagger currently requires a "uniqueKey" field to be defined in the schema. Most Solr schemas do. I will have the tagger throw a batter exception to clearly bring this to the user's attention.
That said... I could imagine adding a feature to eliminate this requirement in lieu of using Lucene's internal docIDs. It would be pretty easy.
When I do:
The core name is
test
. An unrelated question: the url in the README.md is<host>:<port>/solr/tag
, which however, returns 404. In my case,<host>:<port>/solr/<core_name>/tag
works.The server returns(I extracted the trace from the XML result):
I am using:
schema.xml
:Part of
solrconfig.xml
: