lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Prieto García (JIRA) <>
Subject [jira] Commented: (LUCENENET-34) query.Rewrite and system Exception
Date Fri, 23 Feb 2007 08:10:05 GMT


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

Thanks for all

> query.Rewrite and system Exception
> ----------------------------------
>                 Key: LUCENENET-34
>                 URL:
>             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 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.

View raw message