I've got lucene.net running and I am having a little trouble with implementing a good approach to a query requirement that I have.
I'd like to be able to create a query that would enable the query to find hits on:
1) "Sodium Bicarbonate" - exact phrase query.
2) "Sodi% Bicarb%" - partial phrase query that at least has these letters.
3) "sodium,Sodium Bicarbonate, sulfur" - find exact phrase in a bigger phrase set with a form like 1) or 2).
This query will be applied to two fields in the document. I've got the exact phrase query coded but need more flexibility. I have a standard analyzer that has a multifieldparser using a phrasequery object.
I can talk about this on a more conceptual level but would like to see some code samples, especially dealing with query construction.
thanks all