query.Rewrite and system 
-------------------------

                 Key: LUCENENET-34
                 URL: https://issues.apache.org/jira/browse/LUCENENET-34
             Project: Lucene.Net
          Issue Type: Bug
         Environment: Windows XP, VS 2005 and Framework 2.0
            Reporter: Raul Prieto GarcĂ­a


At first time sorry for my english,

I believe that I have found a bug in lucene.NET 2.0.0.3. When I try to rewrite 
(query.rewrite() method) the query 're*' I receive a System Exception. This 
error is repeated at other queries like y* a*a ...
This is the code:
...
QueryParser Parse = new QueryParser("Text", Analizador);
Parse.SetDefaultOperator(QueryParser.AND_OPERATOR);
Query query = Parse.Parse(textBox2.Text);
query = query.Rewrite(LectorIndice);

LectorIndice is a global IndexReader and is open.

 

Thanks for all



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to