as hinted here I am dividing URI query parameters into multiple fields. Is there a way to run urldecode against the resulting fields without naming them specifically in the config?
Have a look at the urldecode filter. I suspect you don't want to urldecode all fields (using its all_fields option) but if you can store the kv-extracted fields in a subfield you can point urldecode to that field and it should decode them all. If you want the fields at the top level rather than in a subfield you can use a ruby filter to move them.
Alternatively, use a ruby filter for the urldecode operation too. Then you can just loop over all fields and selectively urldecode them.
The urldecode works well for me on individual fields. I guess this is getting a more generic question: would it be possible to include field names via wildcard? like fname1, fname2, fname3, as fname* ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.