[ https://issues.apache.org/jira/browse/SOLR-9526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555154#comment-15555154 ]
ASF GitHub Bot commented on SOLR-9526: -------------------------------------- GitHub user janhoy opened a pull request: https://github.com/apache/lucene-solr/pull/91 SOLR-9526: Next iteration on data driven schema, _str copyField Added support for a default typeMapping. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cominvent/lucene-solr solr9526-datadriven Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/91.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #91 ---- commit e7fad966553b51231c36d8d5368f04caf54083f8 Author: Jan Høydahl <jan...@apache.org> Date: 2016-10-07T00:40:36Z SOLR-9526: First patch for data-driven string clone, support for default typeMapping, tests pass ---- > data_driven configs defaults to "strings" for unmapped fields, makes most > fields containing "textual content" unsearchable, breaks tutorial examples > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-9526 > URL: https://issues.apache.org/jira/browse/SOLR-9526 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Hoss Man > Attachments: SOLR-9526.patch > > > James Pritchett pointed out on the solr-user list that this sample query from > the quick start tutorial matched no docs (even though the tutorial text says > "The above request returns only one document")... > http://localhost:8983/solr/gettingstarted/select?wt=json&indent=true&q=name:foundation > The root problem seems to be that the add-unknown-fields-to-the-schema chain > in data_driven_schema_configs is configured with... > {code} > <str name="defaultFieldType">strings</str> > {code} > ...and the "strings" type uses StrField and is not tokenized. > ---- > Original thread: > http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201609.mbox/%3ccac-n2zrpsspfnk43agecspchc5b-0ff25xlfnzogyuvyg2d...@mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org