Hi, I'm writing span query with in own custom query parser. I get the tokens from query analyzer and create span term queries from each token. Later I'm doing span near query with all these span term queries.
This would work if all the tokens are present in the index with in specified slop. However if One of them missing no results comes up. I know it is kind of phrase query. Is there a way to write span queries to ignore few tokens? I would like to return results even if few tokens are present. Please suggest. Regards, Sreenivas