Skip to content

Valid type list is missing SpatialRecursivePrefixTreeFieldType #91

@arafalov

Description

@arafalov

Introduced in Solr 4.0 and is used in the example schema since.

Exception caused:

Traceback (most recent call last):
  File "/Users/arafalov/Projects/solr-client-book/code/PythonClients/sunburntClient/test.py", line 5, in <module>
    solr_interface = sunburnt.SolrInterface("http://localhost:8983/solr/")
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sunburnt/sunburnt.py", line 153, in __init__
    self.init_schema()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sunburnt/sunburnt.py", line 164, in init_schema
    self.schema = SolrSchema(schemadoc)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sunburnt/schema.py", line 394, in __init__
    = self.schema_parse(f)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sunburnt/schema.py", line 414, in schema_parse
    name, field_type_class = self.field_type_factory(field_type_node)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sunburnt/schema.py", line 442, in field_type_factory
    raise SolrError("Unknown field_class '%s'" % class_name)
sunburnt.schema.SolrError: Unknown field_class 'solr.SpatialRecursivePrefixTreeFieldType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions