All, Can one use the copyField option and copy a TextField field into a longField field? I have some data that i want to extract (filter) out all but the long and/or integer values.
Example data: xxx yyy aaa 504 yyy 444234 eeeeeee hhhhhh I have the copyField in place and the destination field gets the numberic terms after filtering, 514 444234, when the destination field is a TextField. I then stopped solr, deleted all the files in the data directory, changed the destination field type to longField, started solr, and then inserted a few documents. When i use the schema browser so look at the top N values in the destination field i see the whole copied text for the terms and not the numeric values I expected. The top terms for the the destination field looked like: xxx yyy aaa 504 yyy 444234 eeeeeee hhhhhh Any idea why I might be seeing this? I did find something that might be better suited for what I want to do and that is the TeeToken and TeeSinkToken filters. Are those filters usable from solr? I guess I'll find out in a few minutes when i try to configure solr to use them. Thanks, Pete