Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86402

DLFileEntrySearchTest.testSearchStatus() breaks with Solr

    Details

      Description

      rows=10000&start=0&fl=uid,companyId,entryClassPK,entryClassName,scopeGroupId,groupId,assetTagNames,modified,title,content,score&q=%2B((%2B(comments:1.0+comments:1.0*)+(comments:"1.0")^2.0)+(%2B(content:1.0+content:1.0*)+(content:"1.0")^2.0)+(%2Bdescription:1.0+description:"1.0"~50+(description:"1.0")^2.0)+(%2B(properties:1.0+properties:1.0*)+(properties:"1.0")^2.0)+(%2B(title:1.0+title:1.0*)+(title:"1.0")^2.0)+(%2B(url:1.0+url:1.0*)+(url:"1.0")^2.0)+(userName:*1.0*)+(%2B(assetCategoryTitles_en_US:1.0+assetCategoryTitles_en_US:1.0*)+(assetCategoryTitles_en_US:"1.0")^2.0)+(%2B(assetTagNames_en_US:1.0+assetTagNames_en_US:1.0*)+(assetTagNames_en_US:"1.0")^2.0)+(%2B(ddmContent:1.0+ddmContent:1.0*)+(ddmContent:"1.0")^2.0)+(%2B(extension:1.0+extension:1.0*)+(extension:"1.0")^2.0)+(%2B(fileEntryTypeId:1.0+fileEntryTypeId:1.0*)+(fileEntryTypeId:"1.0")^2.0)+(path:*1.0*)+(%2B(content_en_US:1.0+content_en_US:1.0*)+(content_en_US:"1.0")^2.0))&fq=%2B(%2B(%2BgroupId:122115+%2BscopeGroupId:122115)+%2B((%2BentryClassName:com.liferay.document.library.kernel.model.DLFileEntry+%2Bhidden:false+%2Bhidden:false+%2Bstatus:0+%2Bstatus:0)))+%2B(companyId:20099)->[{uid=[com.liferay.document.library.kernel.model.DLFileEntry_PORTLET_122123], score=[2.4448946], entryClassPK=[122123], companyId=[20099], entryClassName=[com.liferay.document.library.kernel.model.DLFileEntry], scopeGroupId=[122115], groupId=[122115], modified=[20181015194640], title=[Version 1.1]}}, length=1, query={booleanClauses=[{MUST({booleanClauses=[{SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=comments, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=comments, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=comments, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=description, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=description, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=50, type=PHRASE, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=description, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=properties, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=properties, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=properties, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=title, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=title, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=title, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=url, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=url, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=url, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{SHOULD({className=WildcardQueryImpl, queryTerm={field=userName, value=*1.0*}})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetCategoryTitles_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetCategoryTitles_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetCategoryTitles_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetTagNames_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetTagNames_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=assetTagNames_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=ddmContent, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=ddmContent, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=ddmContent, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=extension, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=extension, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=extension, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=fileEntryTypeId, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=fileEntryTypeId, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=fileEntryTypeId, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{SHOULD({className=WildcardQueryImpl, queryTerm={field=path, value=*1.0*}})}], className=BooleanQueryImpl})}, {SHOULD({booleanClauses=[{MUST({booleanClauses=[{SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=null, value=1.0})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE_PREFIX, value=1.0})}], className=BooleanQueryImpl})}, {SHOULD({analyzer=null, className=MatchQuery, cutOffFrequency=null, field=content_en_US, fuzziness=null, fuzzyTranspositions=null, lenient=null, maxExpansions=null, minShouldMatch=null, operator=null, prefixLength=null, slop=null, type=PHRASE, value=1.0})}], className=BooleanQueryImpl})}], className=BooleanQueryImpl})}], className=BooleanQueryImpl}] expected:<0> but was:<1>
      

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 3 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.X
                  Master