lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Prieto García (JIRA) <j...@apache.org>
Subject [jira] Created: (LUCENENET-34) query.Rewrite and system
Date Wed, 14 Feb 2007 12:33:05 GMT
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.


Mime
View raw message