: Is there a way to do truncation with DisMax? : : Just being able to search for (photo*) would be helpful in quite a few : places.
I'm afraid i'm not understanding your question ... what do you mean by "truncation" ? ... your example: (photo*) seems to be asking about a prefix or wildcard type search, which might match photomat, photographer, photoaaaaaaaaaaa, etc... is that what you're asking about? there is no way at the moment to do prefix or wildcard searches ... but off the top of my head i think it might be fairly easy - there is a partical escaping that happens to escape all QueryParser meta characters except + and - .. we could probably make that configurable so "*" was left alone as well. ... i think there would need to be some additions to the DisjunctionMaxQueryParser to loop over the aliased fields too though. -Hoss