RE: Question: Using Shingle Analyzer NGramAnalyzerWrapper in Lucene

2008-02-26 Thread Steven A Rowe
Hi Stanley, I modernized the files in LUCENE-400 a bit - you can see the details in comments I made on the issue. The results, including all files needed to address the issue, are in the file attached to the issue named "LUCENE-400.patch". I can tell you aren't using the modernized version be

Re: Question: Using Shingle Analyzer NGramAnalyzerWrapper in Lucene

2008-02-26 Thread Stanley Xinlei Wang
Sorry slight correction for the code below: I was actually using the WhitespaceAnalyzer, not the StandardAnalyzer in constructing the NGramAnalyzerWrapper. On Tue, 26 Feb 2008, Stanley Xinlei Wang wrote: Hi, In Lucene, I'm trying to perform word-level bi-gram query parsing using NGramAnalyz

Question: Using Shingle Analyzer NGramAnalyzerWrapper in Lucene

2008-02-26 Thread Stanley Xinlei Wang
Hi, In Lucene, I'm trying to perform word-level bi-gram query parsing using NGramAnalyzerWrapper. I'm couldn't get any word pairs in the parsed query and I was wondering what I should do to make this work. I'm using Lucene 2.2.0 I'm using the files from: https://issues.apache.org/jira/brow