I've encountered a problem when a search query looks something like: ",". As i see in https://github.com/yathit/ydn-db-fulltext/blob/master/src/storage.js#L227 the request is resolved with a "null". Is there a reason for it being like that ?
I can't think of all possible scenarios, but if the "," is not included in the indexed tokens, can't the search return an empty result array instead of null ?
Hello,
I've encountered a problem when a search query looks something like: ",". As i see in https://github.com/yathit/ydn-db-fulltext/blob/master/src/storage.js#L227 the request is resolved with a "null". Is there a reason for it being like that ? I can't think of all possible scenarios, but if the "," is not included in the indexed tokens, can't the search return an empty result array instead of null ?