You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andras Salamon (Jira)" <ji...@apache.org> on 2021/03/09 10:18:00 UTC

[jira] [Created] (SOLR-15230) Missing fields and dynamicfields from schema/fieldtypes API

Andras Salamon created SOLR-15230:
-------------------------------------

             Summary: Missing fields and dynamicfields from schema/fieldtypes API
                 Key: SOLR-15230
                 URL: https://issues.apache.org/jira/browse/SOLR-15230
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Andras Salamon


SOLR-8736 removed some schema API GET functionality in Solr 6.0, but it was added back by SOLR-8992 in Solr 6.0.1

I think some of the functionality is still missing:

{{schema/fieldtypes}} and {{schema/fieldtypes/typename}} does not give the following information anymore:
 * {{fields}}: the fields with the given field type
 * {{dynamicFields}}: the dynamic fields with the given field type

Here is a sample output for {{text_general}}:
{noformat}
{
  "responseHeader":{
    "status":0,
    "QTime":1},
  "fieldType":{
    "name":"text_general",
    "class":"solr.TextField",
    "positionIncrementGap":"100",
    "multiValued":true,
    "indexAnalyzer":{
      "tokenizer":{
        "class":"solr.StandardTokenizerFactory"},
      "filters":[{
          "class":"solr.StopFilterFactory",
          "words":"stopwords.txt",
          "ignoreCase":"true"},
        {
          "class":"solr.LowerCaseFilterFactory"}]},
    "queryAnalyzer":{
      "tokenizer":{
        "class":"solr.StandardTokenizerFactory"},
      "filters":[{
          "class":"solr.StopFilterFactory",
          "words":"stopwords.txt",
          "ignoreCase":"true"},
        {
          "class":"solr.SynonymGraphFilterFactory",
          "expand":"true",
          "ignoreCase":"true",
          "synonyms":"synonyms.txt"},
        {
          "class":"solr.LowerCaseFilterFactory"}]}}}  {noformat}

I tested it using Solr 7.4 and Solr 8.4



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org