RE: 7.4.0 SQL handler throws exception if WHERE clause is present

2018-08-29 Thread Markus Jelsma
SQL handler throws exception if WHERE clause is present > > Hello, > > I was, finally, trying the SQL handler on one of our collections. Executing a > SELECT * FROM logs LIMIT 10 runs fine, but restricting the set using a WHERE > clause gives me the exception below. The type f

7.4.0 SQL handler throws exception if WHERE clause is present

2018-08-29 Thread Markus Jelsma
Hello, I was, finally, trying the SQL handler on one of our collections. Executing a SELECT * FROM logs LIMIT 10 runs fine, but restricting the set using a WHERE clause gives me the exception below. The type field is a String type, indexed and has DocValues. I must be doing something wrong

Re: Simple sql query with where clause doesn't work

2017-04-08 Thread Joel Bernstein
Which version of Solr are you working with? Solr 6.5 has different SQL engine the 6.0 through 6.4. Also what are field types you are working with in the where clause? Here is SQL query from the test cases in 6.4: select id, Field_i, Str_s from Collection1 where Text_t='' order by Fi

Re: Simple sql query with where clause doesn't work

2017-04-07 Thread lazarusjohn
Did you find answer I getting same error when I use text instead of number in Where clause - Please let me know. -- View this message in context: http://lucene.472066.n3.nabble.com/Simple-sql-query-with-where-clause-doesn-t-work-tp4324498p4328991.html Sent from the Solr - User mailing list

Re: Simple sql query with where clause doesn't work

2017-03-12 Thread Erick Erickson
ying > the sql, I'm not using anything related to the nested format (except that > the data itself was indexed this way) > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Simple-sql-query-with-where-clause-doesn-t-work-tp4324498p4324499.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Simple sql query with where clause doesn't work

2017-03-12 Thread adfel70
in context: http://lucene.472066.n3.nabble.com/Simple-sql-query-with-where-clause-doesn-t-work-tp4324498p4324499.html Sent from the Solr - User mailing list archive at Nabble.com.

Simple sql query with where clause doesn't work

2017-03-12 Thread adfel70
xt: http://lucene.472066.n3.nabble.com/Simple-sql-query-with-where-clause-doesn-t-work-tp4324498.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Where clause

2011-12-21 Thread Gora Mohanty
On Wed, Dec 21, 2011 at 4:58 PM, ayyappan wrote: > In the information search in DB, the query has to be based on customer > specific. Is it possible to change “where” clause value in select query > based on the user who logged in. It is not clear what you are asking here? Which "wh