You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:53:34 UTC

[jira] [Updated] (SOLR-5068) ExtractingRequestHandler (via SolrContentHandler) doesn't add fields in "schema-less" mode

     [ https://issues.apache.org/jira/browse/SOLR-5068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated SOLR-5068:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> 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: 4.8
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

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