I have a requirement to query for user information but need to exclude a combination of alphabatical characters and numbers. I could easily do this in a regex but not sure on lucene syntax
For eg: need to exclude abc1234 or zzz2345 but include something like testuser or tes12ab
Thank you. I missed seeing the regex patterns, thanks for pointing out to me. I was able to resolve this using the pattern "UserID:/[^0-9]+/" which basically excludes anything with 1 or more numbers
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.