It's because you are using a term query and not a match query on a text field which is using the default analyzer.
Your text Published is actually indexed in the inverted index as published because of the analysis process.
The match query analyze the query the same way so Published is transformed to published which match published in the inverted index.
The term query does not analyze the query. Published does not match published but published does.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.