Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-08 Thread Umang Agrawal
sformer and java manipulators. Could you please suggest how to use XPATH syntax like "/RESOURCE/LINK[@ID=${ testdata.id}]/TAG/TAG_VALUE" in data config xml file? On Tue, Sep 8, 2015 at 6:34 PM, Umang Agrawal wrote: > Hi All > > I am facing a problem with XPathEntityProcessor .

SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-08 Thread Umang Agrawal
ame": "val1" }, { "id": "2000", "field_name": "val2" } DataConfig XML (TRY 3): <![CDATA[ function f1(row) { var code = row.get("TAG_CODE"); var val = row.get("TAG_VALUE"); row.put(code, val); row.remove("TAG_CODE"); row.remove("TAG_VALUE"); return row; } ]]> http://host:port/uri"; processor="XPathEntityProcessor" forEach="/RESOURCE/LINK"> http://host:port/uri"; processor="XPathEntityProcessor" forEach="/RESOURCE/LINK[@ID=${testdata.id}]/TAG" transformer="script:f1"> Output: { "id": "1000", "field_name": "val1" }, { "id": "2000", "field_name": "val2" } -- Thanx & Regards Umang Agrawal [image: Inline image 1]

How to boost records based on score than a custom field rank (double field)

2015-03-23 Thread Umang Agrawal
c) but it's not working as expected, since sorting remove the score assignment by solr search engine. -- Thanx & Regards Umang Agrawal

How to exclude selected filter (facet) from search result?

2015-02-02 Thread Umang Agrawal
in advance. [image: Inline image 1] -- Thanx & Regards Umang Agrawal

Solr 4.10.2 - DataImportHandler - Qustion

2014-11-28 Thread Umang Agrawal
value related to id. Please advice. Thanks in advance. -- Thanx & Regards Umang Agrawal