abumarjikar commented on code in PR #4512:
URL: https://github.com/apache/solr/pull/4512#discussion_r3388759195


##########
solr/core/src/java/org/apache/solr/schema/NestPathField.java:
##########
@@ -62,4 +67,16 @@ public void setArgs(IndexSchema schema, Map<String, String> 
args) {
     setIndexAnalyzer(new TokenizerChain(customAnalyzer));
     // leave queryAnalyzer as literal
   }
+
+  @Override
+  public Query getFieldQuery(QParser parser, SchemaField field, String 
externalVal) {
+    if (externalVal == null || externalVal.isEmpty() || 
"/".equals(externalVal)) {

Review Comment:
   ohk, then as mentioned I will throw bad request exception when its null. I 
will update this in upcoming commit.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to