You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2019/12/21 19:00:06 UTC

[GitHub] [lucene-solr] mkhludnev commented on a change in pull request #1034: SOLR-13863: payload query function now handles string encoded payload field (delimited_payloads_string)

mkhludnev commented on a change in pull request #1034: SOLR-13863: payload query function now handles string encoded payload field (delimited_payloads_string)
URL: https://github.com/apache/lucene-solr/pull/1034#discussion_r360661332
 
 

 ##########
 File path: lucene/core/src/java/org/apache/lucene/index/PostingsEnum.java
 ##########
 @@ -67,6 +67,56 @@ public static boolean featureRequested(int flags, short feature) {
   protected PostingsEnum() {
   }
 
+  /**
+   * Dummy PostingsEnum object.
+   */
+  public static PostingsEnum DUMMY_INSTANCE = new PostingsEnum() {
 
 Review comment:
   Please look at org.apache.lucene.search.DocIdSetIterator.empty() 
   There's subtle exhausting logic which needs to be supported and you can follow naming as well.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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