Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid type list is missing SpatialRecursivePrefixTreeFieldType #91

Open
arafalov opened this issue May 30, 2014 · 1 comment
Open

Valid type list is missing SpatialRecursivePrefixTreeFieldType #91

arafalov opened this issue May 30, 2014 · 1 comment

Comments

@arafalov
Copy link
Contributor

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'
@arafalov
Copy link
Contributor Author

This may have been fixed for the GitHub latest with fallback to the SolrField. Though this field may be more like LatLong in terms of specific treatment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant