lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: help with DIH transformer to add a suffix to column names
Date Tue, 23 Aug 2016 13:37:55 GMT
I am still not sure it is the right approach. As opposed to managed schema,
etc. But...

If you add dynamic field * it will accept any field. And DIH test for
skipping fields  unknown in schema during automatic name matching should
probably accept it.

Do that as step one, see that you get fields with content into the schema
at all.

Then, try your renaming magic to match to the more specific dynamic field
with extension. If it still fails, try doing that renaming in
UpdateRequestProcessor chain.

If this works, you can then set the * dynamicField to ignored (store,
index, docvalues all false) and it should still work for your renamed
fields and ignore others.

If this does work all together, please report back to the list (I am
curious) AND document this really well for the poor next maintainer of your

Good luck,

On 23 Aug 2016 8:12 PM, "Wendy" <> wrote:

Hi Emir,I have many tables and columns to index. One of the requirements is
to dynamically index columns without knowing column names. In this way, if a
new column is added later on, we don't need to change the configurations,
just need to do a delta-imput.I did use Solr with mongodb and
mongo-connector for a couple of applications. We were happy with the results
and performance. Now try to use Solr with mysql in a much large scale. I am
kind of stuck at this step for several days :-(Will try again today.Thanks
again for your response!

View this message in context: http://lucene.472066.n3.
Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message