Norconex / collector-filesystem

Norconex Filesystem Collector is a flexible crawler for collecting, parsing, and manipulating data ranging from local hard drives to network locations into various data repositories such as search engines.
http://www.norconex.com/collectors/collector-filesystem/
22 stars 13 forks source link

MergeTagger doesn't respect field order (in contrast to v. 2.x) #76

Open bes-shutok opened 5 months ago

bes-shutok commented 5 months ago

Hey! Thank you for your work on the project.

We are currently moving from 2.x to 3.x version. In this process I found that MergeTagger doesn't keep the provided order of the fields it merges. In reality the fields are merged in the order of appearance in metadata (Property object).

For example

                <merge toField="asset.name.tds" singleValue="true" singleValueSeparator=" - ">
                    <fieldMatcher method="csv">name,name.tds</fieldMatcher>
                </merge>

can now resolves either in ${name} - ${name.tds} or in ${name.tds} - ${name}

Is there any plans /possibilities to fix that in the future? Do you accept external pull requests?

Best regards, Andrey

ohtwadi commented 5 months ago

Hi Andrey,

We very much appreciate external pull requests :)