Re: Problem while modifying IndexSearcher

2013-07-24 Thread Michael McCandless
But somehow from "michael" you'll generate the N other terms to search for? And then it seems like you could just make a new query with those expanded terms? If you need to know all terms in the index, you can use a TermsEnum to iterate through them. I'm only pushing this because doing this outs

Re: Problem while modifying IndexSearcher

2013-07-24 Thread Abhishek Gupta
Michael thanks for replying so fast. No there is no mapping. What I have is some code based on LCS(Longest Common Subsequence), Levenshtein Distance, Suffix Tree and a probabilistic error model which maps original word(for eg. michael) to the erroneous word(mihel). So I think I have to change the

Re: Problem while modifying IndexSearcher

2013-07-24 Thread Michael McCandless
Is there some mapping from clean term X to dirty indexed terms A, B, C? If so, can't you just take a TermQuery(X) and replace with BooleanQuery SHOULD A, B, C? Mike McCandless http://blog.mikemccandless.com On Wed, Jul 24, 2013 at 7:41 AM, Abhishek Gupta wrote: > As I have some discussion on

Re: Problem while modifying IndexSearcher

2013-07-24 Thread Abhishek Gupta
As I have some discussion on IRC with . They want to know my objective in doing so. I have already post the objective there and posting here again: Sry, for late response. I am making a search system in which the data I have indexed is erroneous. So I have made some schemes to match a query term(wh

Problem while modifying IndexSearcher

2013-07-23 Thread Abhishek Gupta
Hi, I have a problem which is explained completely here. Please help!! or just give me some suggestion about from where to get help. -- Abhishek Gupta, 897876422, 9416106204, 9624799165