Erik Hatcher created SOLR-5068:
----------------------------------

             Summary: ExtractingRequestHandler (via SolrContentHandler) doesn't 
add fields in "schema-less" mode
                 Key: SOLR-5068
                 URL: https://issues.apache.org/jira/browse/SOLR-5068
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 4.4
            Reporter: Erik Hatcher
             Fix For: 5.0, 4.5


SolrContentHandler checks against the schema before adding fields to documents. 
 This does not work well in schema-less mode with those fields not yet defined.

Example, using empty managed schema and auto-field adding update processor:
{code}java -Dauto -Drecursive -jar post.jar ../../site/html/{code}

results in http://localhost:8983/solr/collection1/query?q=*:* -
{code}
{
  "responseHeader":{
    "status":0,
    "QTime":1,
    "params":{
      "q":"*:*"}},
  "response":{"numFound":1,"start":0,"docs":[
      {
        
"id":"/Users/erikhatcher/solr-4.4.0/solr/example/exampledocs/../../site/html/tutorial.html",
        "_version_":1441348012271992832}]
  }}
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to