lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5068) ExtractingRequestHandler (via SolrContentHandler) doesn't add fields in "schema-less" mode
Date Tue, 23 Jul 2013 10:54:48 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message