Re: help with DIH transformer to add a suffix to column names

2016-08-25 Thread Wendy
Hi Alex, Thank you for your response. It worked. I am very happy for the results. I reports the steps below. The purpose is to create a dynamic field to simplify field definition in managed-schema file and to simplify field rank in solrconfig.xml file. STEPS: 1. file creation of db-data-config.x

Re: help with DIH transformer to add a suffix to column names

2016-08-23 Thread Wendy
Hi Alex, It worked out kindly. I have to specify table column names. Using customer transformer allowed me to change column name to _stem. In this way, it simplifies field ranking in solrconfig.xml file and simplifies field

Re: help with DIH transformer to add a suffix to column names

2016-08-23 Thread Wendy
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-conn

Re: help with DIH transformer to add a suffix to column names

2016-08-22 Thread Wendy
Hi Emlr, I use the example of "A General TrimTransformer" in the following link: https://wiki.apache.org/solr/DIHCustomTransformer#transformer But instead of trim the field value, I wanted to change the table column name to columnName_stem. So I can use *_stem to copy all fields. Here is my c

Re: help with DIH transformer to add a suffix to column names

2016-08-22 Thread Wendy
Hi Alex,Thank you for your response. I include the details below. Hope it makes more clear. I wanted to append _stem to each column name, so I can specify fields dynamically with *_stem w/o specifying each field names.Thanks!I use solr 6.1.0 to index data from mysql database.I wrote a java class o

help with DIH transformer to add a suffix to column names

2016-08-19 Thread Wendy
Hi,How can I append a suffix _* to all column names from a mysql database.I am working on a project index data from mysql . I would like to use dynamic field to dynamically index fields without specifying each field/column names. I have been tried DIH customer transformer to append a suffix to col

To use XML or database with DIH?

2016-07-25 Thread Wendy
flexible enough to handle future data fields w/o code change. Thanks,Wendy -- View this message in context: http://lucene.472066.n3.nabble.com/To-use-XML-or-database-with-DIH-tp4288827.html Sent from the Solr - User mailing list archive at Nabble.com.