Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot query hash tags and accounts #24

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 5 comments
Open

Cannot query hash tags and accounts #24

GoogleCodeExporter opened this issue Aug 27, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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 [email protected] on 19 Mar 2015 at 6:37

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 19 Mar 2015 at 7:37

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by [email protected] on 19 Mar 2015 at 7:39

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 19 Mar 2015 at 9:27

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 19 Mar 2015 at 10:25

@GoogleCodeExporter
Copy link
Contributor Author

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 [email protected] on 24 Mar 2015 at 6:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant