mirror of https://github.com/apache/lucene.git
SOLR-3098: additional check for existing elements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3710c95e96
commit
993908d5d5
|
@ -277,7 +277,7 @@ sammy.get
|
|||
var elements = analysis_data[type][i+1];
|
||||
var elements_count = global_elements_count;
|
||||
|
||||
if( !elements[0].positionHistory )
|
||||
if( !elements[0] || !elements[0].positionHistory )
|
||||
{
|
||||
colspan = elements_count;
|
||||
elements_count = 1;
|
||||
|
|
Loading…
Reference in New Issue