bkper / bkper-issues

Feature requests and enhancements to existing bkper modules can also be filed here.
https://bkper.com/
2 stars 0 forks source link

Cannot query hash tags and accounts #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Greetings,

The following query is failing to return any results on my end:

'=#gas acc:"Home Savings" #rent'

As well as:

'=#gas #rent'

But this works:

'=#gas'

Is this a bug or is in intended to not be able to search multiple hash tags and 
accounts together? 

Original issue reported on code.google.com by jmgil...@google.com on 19 Mar 2015 at 6:37

GoogleCodeExporter commented 8 years ago
The default behavior is AND, that is, in the query:

'=#gas acc:"Home Savings" #rent'

The transactions result should match  #gas AND acc:"Home Savings" AND #rent'

I suppose you were expecting OR, right?

Original comment by m...@nimbustecnologia.com.br on 19 Mar 2015 at 7:37

GoogleCodeExporter commented 8 years ago

Original comment by m...@nimbustecnologia.com.br on 19 Mar 2015 at 7:39

GoogleCodeExporter commented 8 years ago
That's correct. The issue I'm running into is I'm making balance queries 
against several accounts, groups, and hashtags. Originally I was doing this one 
by one, but the process was taking far too long to query the server for each 
account. At this point I'm attempting to put as much into one query as possible 
so as to reduce the latency of my script.

Original comment by jmgil...@google.com on 19 Mar 2015 at 9:27

GoogleCodeExporter commented 8 years ago
Probably we should think about implementing a multi-query method. See:

https://code.google.com/p/bkper-issues/issues/detail?id=23

This could also be used to improve the addons update performance.

Original comment by kris...@nimbustecnologia.com.br on 19 Mar 2015 at 10:25

GoogleCodeExporter commented 8 years ago
Yes, it would most likely improvde the add-on performance as well as reduce the 
overhead on the server handling the queries. Seems like a win-win.

Original comment by jmgil...@google.com on 24 Mar 2015 at 6:34