SOLR: how to copy data to another field with filtered values?
问题 I have Price field in solr with below types of values. "Price":"0.07 AUD" "Price":"10.00" "Price":"AUD" So, I need another custom field CustomPrice To create this I used copy field to copy data from Price to CustomPrice But, I need only number values into CustomPrice like below "CustomPrice":"0.07" "CustomPrice":"10.00" "CustomPrice":"0" Also need CustomPrice field type as pfloat so we can sort the field by number. I tried CopyField , PatternTokenizerFactory , PatternReplaceFilterFactory to