Re: Copy Field Question

2012-10-15 Thread Tanguy Moal
Hello, I think you don't have that much tuning possiblities using only the schema.xml file. You will have to write some custom Java code (subclasses of UpdateRequestProcessor and UpdateRequestProcessorFactory), build a Java jar containing your custom code, put that jar in one of the path declared

Copy Field Question

2012-10-15 Thread Virendra Goswami
Can we limit copyfield source condition? for example if we want to make lookup in source="product_name" and dest="some_dest" so our syntax would become How about copying only those product_names having status=0 AND attribute1=1 AND attribute2=0. assume status,attribute1,attribute2 and product_name

Re: Copy Field Question

2009-08-03 Thread Chantal Ackermann
Thanks, Mark! Mark Miller schrieb: Its the pre-analyzed form thats copied. The field that its copied to will determine the analyzer/filters for that field. If you want to check out the code doing it, its in org.apache.solr.update.DocumentBuilder -- - Mark http://www.lucidimagination.com On M

Re: Copy Field Question

2009-08-03 Thread Mark Miller
Its the pre-analyzed form thats copied. The field that its copied to will determine the analyzer/filters for that field. If you want to check out the code doing it, its in org.apache.solr.update.DocumentBuilder -- - Mark http://www.lucidimagination.com On Mon, Aug 3, 2009 at 8:12 AM, Chantal Ac

Copy Field Question

2009-08-03 Thread Chantal Ackermann
Dear all, before searching through the source code - maybe one of you can answer this easily: When and based on what are the tokenizer and filters applied when copying fields? Can it happen that fields are analyzed twice (once when creating the first field, and a second time when they are co