lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jmlucjav (JIRA)" <>
Subject [jira] [Updated] (SOLR-7882) Schemaless mode does not work with DIH
Date Thu, 06 Aug 2015 15:01:04 GMT


jmlucjav updated SOLR-7882:
    Attachment: SOLR-7882.patch

small patch that allows me to use DIH with schemaless mode

> Schemaless mode does not work with DIH
> --------------------------------------
>                 Key: SOLR-7882
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler, Data-driven Schema
>    Affects Versions: 5.2.1
>            Reporter: jmlucjav
>         Attachments: SOLR-7882.patch
> Schemaless mode does not work if you use DIH to index. This mode being most useful for
prototyping, it makes sense to be able to use it with DIH, another great Solr tool that allows
people to index some db content pretty fast. 
> I imagine this also affects other sources DIH can handle, not just SQL.
> The issue is DIH code does not add fields it does not know so far, so the new fields
to be added don't read the URP that adds them. A small change in was enough
to fix this for my use case, now all my fields returned by the sql query are later added to
the schema just fine. 
> I did not look in detail into multiValued fields, but maybe this small patch is enough
for someone to look at it.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message