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
configuration.

Good luck,
    Alex

On 23 Aug 2016 8:12 PM, "Wendy" <w...@rcsb.rutgers.edu> 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.
nabble.com/help-with-DIH-transformer-to-add-a-suffix-to-column-names-
tp4292448p4292925.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to