You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ge...@apache.org on 2019/06/21 11:50:52 UTC
[lucene-solr] branch branch_8x updated: highlight select * not
supported
This is an automated email from the ASF dual-hosted git repository.
gerlowskija pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 759770c highlight select * not supported
759770c is described below
commit 759770c9ab250a54eac3a0ee301b8a3943f77a8a
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Fri May 10 05:53:31 2019 -0400
highlight select * not supported
---
solr/solr-ref-guide/src/parallel-sql-interface.adoc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/solr/solr-ref-guide/src/parallel-sql-interface.adoc b/solr/solr-ref-guide/src/parallel-sql-interface.adoc
index 01442ee..3c4ea08 100644
--- a/solr/solr-ref-guide/src/parallel-sql-interface.adoc
+++ b/solr/solr-ref-guide/src/parallel-sql-interface.adoc
@@ -154,6 +154,12 @@ Solr supports a broad range of SQL syntax.
The SQL parser being used by Solr to translate the SQL statements is case insensitive. However, for ease of reading, all examples on this page use capitalized keywords.
====
+.SELECT * is not supported
+[IMPORTANT]
+====
+The SQL parser being used by Solr does not support the SELECT * syntax, you must specify each field you wish to return.
+====
+
=== Escaping Reserved Words
The SQL parser will return an error if a reserved word is used in the SQL query. Reserved words can be escaped and included in the query using the back tick. For example: