We have tried integrating lucene search for patient with our Bahmni patient search api and it gave us a good performance boost.
But one thing that we weren’t able to achieve is, searching patient by identifier of a particular identifier type. We have extra identifiers configured and we sometimes want to limit the search only to a particular identifier type.
I tried making patientIdentifierType as a lucene field in PatientIdentifier.class and we were able to search by a particular identifier type. Can this be incorporated in openmrs-core? I can raise a pull request.