Details
Description
I encountered an exception using the keywords below:
{yyy zzz}
at org.terrier.matching.PostingListManager.mergeStatistics(PostingListManager.java:230)
at org.terrier.matching.PostingListManager.addSingleTermAlternatives(PostingListManager.java:282)
at org.terrier.matching.PostingListManager.<init>(PostingListManager.java:162)
at org.terrier.matching.taat.Full.match(Full.java:73)
at org.terrier.querying.Manager.runMatching(Manager.java:676)
The query: zzz yyy
returns 0 results. So I think it has something to do with empty-resulting keywords. Also the same error is encountered when using the query:
{work zzz} {gospel yyy}
Even if there are results for the query:
work gospel
However, the exception does not happen for the query below:
{work zzz} {message yyy}
where work and message appears in some documents.
I can't make a clear conclusion with this.
{yyy zzz}
at org.terrier.matching.PostingListManager.mergeStatistics(PostingListManager.java:230)
at org.terrier.matching.PostingListManager.addSingleTermAlternatives(PostingListManager.java:282)
at org.terrier.matching.PostingListManager.<init>(PostingListManager.java:162)
at org.terrier.matching.taat.Full.match(Full.java:73)
at org.terrier.querying.Manager.runMatching(Manager.java:676)
The query: zzz yyy
returns 0 results. So I think it has something to do with empty-resulting keywords. Also the same error is encountered when using the query:
{work zzz} {gospel yyy}
Even if there are results for the query:
work gospel
However, the exception does not happen for the query below:
{work zzz} {message yyy}
where work and message appears in some documents.
I can't make a clear conclusion with this.
Attachments
Issue Links
Activity
Summary | ArrayIndexOutOfBoundsException in PostingListManager | ArrayIndexOutOfBoundsException in PostingListManager, add unit test for PostingListManager |
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 3.6 [ 10060 ] | |
Resolution | Fixed [ 1 ] |
See: http://terrier.org/forum//read.php?3,1894
For Craig's comment