[ 
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.

Reply via email to