You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dhananjay Kumar (JIRA)" <ji...@apache.org> on 2006/06/22 18:29:29 UTC

[jira] Created: (LUCENE-612) Lucene Searcher failing if the keyword is "a*" or "b*"

 Lucene Searcher failing if the keyword is "a*" or "b*"
-------------------------------------------------------

         Key: LUCENE-612
         URL: http://issues.apache.org/jira/browse/LUCENE-612
     Project: Lucene - Java
        Type: Bug

  Components: Search  
    Reporter: Dhananjay Kumar


 Lucene Searcher failing if the keyword is "a*" or "b*", but surprisingly its not for all the letters (followed with *). The error I am getting is Exception in thread "main" org.apache.lucene.search.BooleanQuery$TooManyClauses at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:79) at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:71) at org.apache.lucene.search.PrefixQuery.rewrite(PrefixQuery.java:50) at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:166) at org.apache.lucene.search.Query.weight(Query.java:84) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:85) at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) at org.apache.lucene.search.Hits.<init>(Hits.java:43) at org.apache.lucene.search.Searcher.search(Searcher.java:33) at org.apache.lucene.search.Searcher.search(Searcher.java:27) ============================================================= 
Please suggest a solution. Its very very urgent.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-612) Lucene Searcher failing if the keyword is "a*" or "b*"

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-612?page=all ]
     
Otis Gospodnetic resolved LUCENE-612:
-------------------------------------

    Resolution: Invalid

See the FAQ (e.g. http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-06fafb5d19e786a50fb3dfb8821a6af9f37aa831 ) and java-user mailing list archives.


>  Lucene Searcher failing if the keyword is "a*" or "b*"
> -------------------------------------------------------
>
>          Key: LUCENE-612
>          URL: http://issues.apache.org/jira/browse/LUCENE-612
>      Project: Lucene - Java
>         Type: Bug

>   Components: Search
>     Reporter: Dhananjay Kumar

>
>  Lucene Searcher failing if the keyword is "a*" or "b*", but surprisingly its not for all the letters (followed with *). The error I am getting is Exception in thread "main" org.apache.lucene.search.BooleanQuery$TooManyClauses at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:79) at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:71) at org.apache.lucene.search.PrefixQuery.rewrite(PrefixQuery.java:50) at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:166) at org.apache.lucene.search.Query.weight(Query.java:84) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:85) at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) at org.apache.lucene.search.Hits.<init>(Hits.java:43) at org.apache.lucene.search.Searcher.search(Searcher.java:33) at org.apache.lucene.search.Searcher.search(Searcher.java:27) ============================================================= 
> Please suggest a solution. Its very very urgent.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org