|
|
|
|
|
|
Something similar to show_sql but in the logs (not System.out). Also an option to output the explain might be useful?
{code} emmanuel_off emmanuel ╡ can I log the queries executed by HSearch? ℹ ╡ You are now known as emmanuel sannegrinovero ╡ emmanuel: the full-text ones, or "highlight" the ones run via ORM? emmanuel ╡ ft ones ⤷ ╡ but both I guess :) sannegrinovero ╡ emmanuel: seems like our FtQuery implements a "proper" toString ⤷ ╡ but that doesn't get you much more than loggin a toString() on the Lucene Query before passing it to HS emmanuel ╡ ok, but I need to log it as a user app developper ⤷ ╡ can't jsut just set a log category ⤷ ╡ that might be useful sannegrinovero ╡ emmanuel: as an app developer I'd log them myself.. what would you want on top of that? emmanuel ╡ like Hibernate ORM show_sal show_sql thing ⤷ ╡ sannegrinovero : ^ sannegrinovero ╡ emmanuel: ok we can add that, but in case of ORM it's a mystery what kind of queries (and when) they are run.. here you have a 1:1 execution with the user app's code requests. ⤷ ╡ +1 to add it though, it's an easy convenience. ⤷ ╡ (just saying that I doubt this could be seen as a problematic limitation in practice) sannegrinovero ╡ emmanuel: if you happen to have a moment, keep an eye on hipchat too.
{code}
|
|
|
|
|
|