You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Raul Prieto García (JIRA)" <ji...@apache.org> on 2007/02/14 13:33:05 UTC

[jira] Created: (LUCENENET-34) query.Rewrite and system

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.


[jira] Updated: (LUCENENET-34) query.Rewrite and system Exception

Posted by "Raul Prieto García (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raul Prieto García updated LUCENENET-34:
----------------------------------------

       Priority: Minor  (was: Major)
    Description: 
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.
Analizador is a standard analyzer.
I think that the exception must be a too many binary queries ...
 

Thanks for all



  was:
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



        Summary: query.Rewrite and system Exception  (was: query.Rewrite and system )

> query.Rewrite and system Exception
> ----------------------------------
>
>                 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
>            Priority: Minor
>
> 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.
> Analizador is a standard analyzer.
> I think that the exception must be a too many binary queries ...
>  
> Thanks for all

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


[jira] Commented: (LUCENENET-34) query.Rewrite and system Exception

Posted by "George Aroush (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475216 ] 

George Aroush commented on LUCENENET-34:
----------------------------------------

Hi,

Can you please provide an example demonstrating the problem?  If you can't, how about posting the call stack during the exception?

Regards,

-- George Aroush

> query.Rewrite and system Exception
> ----------------------------------
>
>                 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
>            Priority: Minor
>
> 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.
> Analizador is a standard analyzer.
> I think that the exception must be a too many binary queries ...
>  
> Thanks for all

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


[jira] Commented: (LUCENENET-34) query.Rewrite and system Exception

Posted by "Raul Prieto García (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475285 ] 

Raul Prieto García commented on LUCENENET-34:
---------------------------------------------

Hi, at first time thanks for the answer ...


this is the stack trace:
StackTrace = "   
Lucene.Net.Search.BooleanQuery.Add(BooleanClause clause)
Lucene.Net.Search.BooleanQuery.Add(Query query, Occur occur)
Lucene.Net.Search.PrefixQuery.Rewrite(IndexReader reader)
LuceneTst.Form1.button2_Click(Object sender, EventArgs e) 
C:\\Mis Documentos\\Desarrollo\\proyectos\\lucene\\LuceneTst\\LuceneTst\\Form1.cs:línea 205"

Message : "Error del sistema." Sorry V Studio is in spanish language :-(. This is a System Error exception.
TargetSite: {Void Add(Lucene.Net.Search.BooleanClause)}

I think that the exception trhows because there is too many binary queries (like the Java API)

Thanks for all



> query.Rewrite and system Exception
> ----------------------------------
>
>                 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
>            Priority: Minor
>
> 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.
> Analizador is a standard analyzer.
> I think that the exception must be a too many binary queries ...
>  
> Thanks for all

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


[jira] Closed: (LUCENENET-34) query.Rewrite and system Exception

Posted by "George Aroush (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Aroush closed LUCENENET-34.
----------------------------------

    Resolution: Invalid
      Assignee: George Aroush

Per Lucene.Net mailing list and the call stack provided, this is not an issue -- but the expected behavior of Lucene.

> query.Rewrite and system Exception
> ----------------------------------
>
>                 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
>         Assigned To: George Aroush
>            Priority: Minor
>
> 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.
> Analizador is a standard analyzer.
> I think that the exception must be a too many binary queries ...
>  
> Thanks for all

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