You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2014/08/13 17:52:12 UTC

[jira] [Commented] (SOLR-6368) Admin UI should include a query parser playground

    [ https://issues.apache.org/jira/browse/SOLR-6368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095626#comment-14095626 ] 

Erick Erickson commented on SOLR-6368:
--------------------------------------

Don't we already have the query page in the admin UI? There's a debugQuery checkbox there which returns this info...

That said, how many times have we seen people on the user's list (or done it ourselves) miss that what they put into the analysis page is _after_ the query parsing is done. Doing something here seems like a Good Thing.

Perhaps a variant on 1 is possible. Rather than another tab, or trying to shoehorn things into the FieldAnalysisRequestHandler, just fire off a second query  from the admin UI at the indicated request handler and display the "parsedQuery" of the debug output.

Whatever it is, I'd keep it _real_ simple. Only allow specification of the request handler, no parameters, no nothing. If they want to do that, they can go to the query page or the raw URL.



> Admin UI should include a query parser playground
> -------------------------------------------------
>
>                 Key: SOLR-6368
>                 URL: https://issues.apache.org/jira/browse/SOLR-6368
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Priority: Minor
>
> When I type in a query it gets parsed differently at search time ( debug=query) than what I sees in the Analysis tab.
> I will happen when my queries are phrase queries, and has query time shingles/ multi word synonyms. The reason being the Analyzer sees it as 1 token when doing a regular search VS multiple tokens when seeing it via the Analysis -> Field Value ( Query ) text box
> There could be two options - 
> 1. In Admin UI -> Analysis -> Field Value ( Query ) text box we should also provide another text box for 'defType'. And the query gets parsed via the QParser specified. Briefly looking at FieldAnalysisRequestHandler it's not obvious to me if this is possible though.
> 2. Add another tab in the Admin UI which shows how a query gets parsed given the QueryParser



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org