lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soujanya (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2806) ArrayIndexOutOfBoundsException thrown from TermScorer.score while doing a regular index search.
Date Tue, 07 Dec 2010 09:42:16 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968647#action_12968647
] 

Soujanya commented on LUCENE-2806:
----------------------------------

I used SimpleAnalyzer to build the index. There are totally 240,000+
documents (multiple fielded documents).
I use SimpleAnalyzer to generate the query. The query has two fields to
search like this: field1:searchstring* AND field2:searchstring2. The first
one has a regular expression '*' at the end of the query string. To match
obtain matches when the query string is not entered completely. The query
string is a single word appended with a '*', say like 'field1:glamour* AND
type:document'.
I run this query on the index and it throws this error.

Could you please tell me what 'freq' is? Is the frequency of a word or is it
an array?

Thanks,
Soujanya




> ArrayIndexOutOfBoundsException thrown from TermScorer.score while doing a regular index
search.
> -----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2806
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2806
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 3.0.3
>         Environment: Ubuntu linux
>            Reporter: Soujanya
>
> java.lang.ArrayIndexOutOfBoundsException: 51064
> 	org.apache.lucene.search.TermScorer.score(TermScorer.java:130)
> 	org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
> 	org.apache.lucene.search.TermScorer.score(TermScorer.java:78)
> 	org.apache.lucene.search.TermScorer.score(TermScorer.java:70)
> 	org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:212)
> 	org.apache.lucene.search.Searcher.search(Searcher.java:67)

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


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


Mime
View raw message