When my users enter words like the word "word", then I want it to enter the wildcard query "word *" The word "word" will be considered as the word begins with "word". Is there a way to ask the query parser to create wildcard queries automatically or do I have to parse the query manually? This should not be a problem for simple questions, but it can be difficult for more complex questions.
As long as I'm missing something - a wildcard query for every query is generally inappropriate - This is very expensive and may be the cause of many problems if you are trying to find results including the forms of a stem (eg - win -> winners, winning etc.), then you should consider an N-Gram approach.
Comments
Post a Comment