Re: Does an empty query value can cause an "org.apache.solr.search.SyntaxError" error?

2018-11-08 Thread Shawn Heisey
On 11/7/2018 11:36 PM, nettadalet wrote: Shawn Heisey-2 wrote I do think that it is proper for empty parentheses to throw a syntax error.  The text of the exception message is saying that the parser encountered the ) character at a point when it did not expect to encounter that character. A li

Re: Does an empty query value can cause an "org.apache.solr.search.SyntaxError" error?

2018-11-08 Thread nettadalet
Shawn Heisey-2 wrote > I don't know whether that actually is written anywhere.  I suspect it's > not. > > I do think that it is proper for empty parentheses to throw a syntax > error.  The text of the exception message is saying that the parser > encountered the ) character at a point when it di

Re: Does an empty query value can cause an "org.apache.solr.search.SyntaxError" error?

2018-11-08 Thread nettadalet
Shawn Heisey-2 wrote > I don't know whether that actually is written anywhere.  I suspect it's > not. > > I do think that it is proper for empty parentheses to throw a syntax > error.  The text of the exception message is saying that the parser > encountered the ) character at a point when it di

Re: Does an empty query value can cause an "org.apache.solr.search.SyntaxError" error?

2018-11-07 Thread Shawn Heisey
On 11/7/2018 5:10 AM, nettadalet wrote: I get the following error: org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse '((TITLE_Name_t:( la verita))) AND ((TITLE_Artist_t:( ))) AND (TITLE_Type_e : "Audio")': Encountered " ")" ") "" at line 1, column 53. I think

Does an empty query value can cause an "org.apache.solr.search.SyntaxError" error?

2018-11-07 Thread nettadalet
We are using Solr 4.6 (yes, I know. We plan an update in the near future) I get the following error: org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse '((TITLE_Name_t:( la verita))) AND ((TITLE_Artist_t:( ))) AND (TITLE_Type_e : "Audio")': Encountered " ")" ")

Re: Empty query

2008-08-31 Thread Chris Hostetter
: Is there any way to get empty result set if empty query is passed to solr. : Am using solr 1.2 and dismax request handler. if an empty query is sent to dismax, it uses the q.alt param ... so you should just be able to set q.alt to something that won't match any docs (pick a field:value

Empty query

2008-08-31 Thread anshuljohri
Hi, Is there any way to get empty result set if empty query is passed to solr. Am using solr 1.2 and dismax request handler. Thanks, Anshul Johri -- View this message in context: http://www.nabble.com/Empty-query-tp19243534p19243534.html Sent from the Solr - User mailing list archive at

Re: dismax and empty query

2008-07-29 Thread Erik Hatcher
rator is "AND" which needs to be that way for faceting to work (at least I think so). Matt -- View this message in context: http://www.nabble.com/dismax-and-empty-query-tp18709318p18709318.html Sent from the Solr - User mailing list archive at Nabble.com.

dismax and empty query

2008-07-29 Thread matt connolly
y operator is "AND" which needs to be that way for faceting to work (at least I think so). Matt -- View this message in context: http://www.nabble.com/dismax-and-empty-query-tp18709318p18709318.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Handling empty query

2007-10-04 Thread Christopher Triggs
Have a look at http://www.mail-archive.com/solr-user@lucene.apache.org/msg03394.html The thread goes on to describe that just using q=*:* is efficient and is very usefull for getting facets for browsing / navigation. Regards, Triggsie On 4-Oct-07, at 3:25 PM, Guangwei Yuan wrote: Does S

Re: Handling empty query

2007-10-04 Thread Mike Klaas
On 4-Oct-07, at 3:25 PM, Guangwei Yuan wrote: Does Solr support empty queries? It'll be nice if Solr can return all results if q is null. Otherwise, I guess I'll have to write a customized request handler. Any thoughts? The dismax handler has an "alt.q" parameter which is used as the quer

RE: Handling empty query

2007-10-04 Thread Lance Norskog
If a field is required, and always has data, this query will enumerate all documents: field:[* TO *] -Original Message- From: Guangwei Yuan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 3:26 PM To: solr-user@lucene.apache.org Subject: Handling empty query Hi, Does Solr

Handling empty query

2007-10-04 Thread Guangwei Yuan
Hi, Does Solr support empty queries? It'll be nice if Solr can return all results if q is null. Otherwise, I guess I'll have to write a customized request handler. Any thoughts? Thanks in advance. - Guangwei