Menu ▾ ▴

#234 #require queries are incompatible with MaxScoreDocumentModel

v5.x
closed
1
2014-09-18
2014-04-16
lauradietz
No

#require queries are incompatible with MaxScoreDocumentModel

Example query:

#require( #all( snord116 ) #combine:0=1.0(#sdm(snord116)) )

Exception in thread "main" java.lang.IllegalArgumentException: Query tree does not support delta scoring interface.
#require(
    #all(
        #counts:snord116:part=postings.krovetz()
      )
    #combine:0=1.0:norm=false(
        #dirichlet:avgLength=1590.3536612757132:collectionLength=6060958670:documentCount=3811076:maximumCount=143:mu=2500.0:nodeFrequency=151(
            #lengths:document:part=lengths()
            #counts:snord116:part=postings.krovetz()
          )
      )
  )

    at org.lemurproject.galago.core.retrieval.processing.MaxScoreDocumentModel.execute(MaxScoreDocumentModel.java:43)
    at org.lemurproject.galago.core.retrieval.LocalRetrieval.executeQuery(LocalRetrieval.java:195)

When I set parameter "deltaReady" to false, it runs without problems.

(1.6-SNAPSHOT)

Discussion

  • David Fisher

    David Fisher - 2014-04-17
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,8 @@
    -#require queries are incompatible with MaxScoreDocumentModel
    +\#require queries are incompatible with MaxScoreDocumentModel
    
     Example query:
    +
    +~~~~~~
     #require( #all( snord116 ) #combine:0=1.0(#sdm(snord116)) )
    
     Exception in thread "main" java.lang.IllegalArgumentException: Query tree does not support delta scoring interface.
    @@ -19,7 +21,7 @@
        at org.lemurproject.galago.core.retrieval.processing.MaxScoreDocumentModel.execute(MaxScoreDocumentModel.java:43)
        at org.lemurproject.galago.core.retrieval.LocalRetrieval.executeQuery(LocalRetrieval.java:195)
    
    -
    +~~~~~~
    
    
     When I set parameter "deltaReady" to false, it runs without problems.
    
     
  • David Fisher

    David Fisher - 2014-04-17
    • labels: --> galago, query processing
    • assigned_to: David Fisher
     
  • David Fisher

    David Fisher - 2014-04-17

    To ship in 06/2014 release.

     
  • David Fisher

    David Fisher - 2014-04-17
    • status: open --> accepted
     
  • David Fisher

    David Fisher - 2014-06-19
    • Status: accepted --> closed
     

Log in to post a comment.