I would like to ask if it is possible to do regex queries (without adding new fields, and tokenizing differently) in the C library. What I need to do is to be able to be able to return documents based on file name suffix. So that a query as (*.pdf) should return all documents that contain a PDF file type.
I can understand the complexity it creates for the searcher to do a suffix query. But in my use case there would not be many files that are associated with the documents. So that attachment fields will exist for small number of documents.
If this is not possible, I will also index the documents with their file types in a new field. (or reverse the attachment names).