Hello.
I tried with
doc.add(new Field("contents",line,Field.Store.YES,Field.Index.ANALYZED));The BooleanQuery/PrefixMatch/WildCard all started Running fine..But it broke the Existing code for Phrase Suggestion/InfixSuggester. Now these suggesters are returning Word suggestion instead of Phrase Suggestion which is not serving any purpose.
THIS IS NOT DESIRABLE..My PhraseSuggestion/InfixSuggestion etc. is now not working fine. Please guide.. This is complete blocker.
On 8/19/2013 12:28 PM, Roberto Ragusa wrote:
On 08/19/2013 08:17 AM, Ankit Murarka wrote:doc.add(new StringField("contents",line,Field.Store.YES));Did you try with: doc.add(new Field("contents",line,Field.Store.YES)); ?
-- Regards Ankit Murarka "What lies behind us and what lies before us are tiny matters compared with what lies within us" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
