[jira] [Comment Edited] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form

2016-05-03 Thread Jakub Zakrzewski (JIRA)

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

Jakub Zakrzewski edited comment on SOLR-9010 at 5/3/16 2:48 PM:


Thank you Erick for creating a patch,

I'm sorry for inconvenience, this path will not work without changing the 
partials/query.html file by modifying the name of the function being executed 
after clicking on the "Execute query" button.

The edited partials/query.html file contains:

  Submit Query

edit: I uploaded the modified file query.html  to the same repository as the 
query.js file.
query.html is available under
https://github.com/kbntk/solr-webapp-angular-query-controller/tree/master/webapp/web/partials


was (Author: jzak):
Thank you Erick for creating a patch,

I'm sorry for inconvenience, this path will not work without changing the 
partials/query.html file by modifying the name of the function being executed 
after clicking on the "Execute query" button.

The edited partials/query.html file contains:

  Submit Query


> Query tab - allow using browser "previous", "next" buttons to load 
> previous/next queries in the form
> 
>
> Key: SOLR-9010
> URL: https://issues.apache.org/jira/browse/SOLR-9010
> Project: Solr
>  Issue Type: Improvement
>  Components: web gui
>Affects Versions: 5.5
> Environment: Lucene Solr for Linux (downloaded as an archive)
>Reporter: Jakub Zakrzewski
> Attachments: SOLR-9010.patch
>
>
> Hi guys,
> I'm new here, however I have been using solr web admin interface for some 
> weeks now. 
> My problem is that I often would like to access my previous queries loaded in 
> the form. However it is not possible now.
> I'd like to have an url that opened will load the values to the form fields.
> Now the web gui displays an url which is a solr request url and not web admin 
> query url.
> I could implement this feature or create a web page that will use this 
> feature. Are you interested?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Comment Edited] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form

2016-04-23 Thread Jakub Zakrzewski (JIRA)

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

Jakub Zakrzewski edited comment on SOLR-9010 at 4/23/16 7:51 AM:
-

Yes, it will look like this (or similar to this).
As I checked the code one of my ideas would be that
the 'Execute Query' button will call the function that changes the URL,
e.g. in the way: original URL
http://localhost:8983/solr/index.html#/core/query
changed URL
http://localhost:8983/solr/index.html#/core/query?query=(encoded_query).

This pulls the controller, the controller parses the URL and checks if the URL
contains the 'query' parameter
if yes, build a Solr URL and pass it to a service
if not (default state after clicking the Query menu option) - just display the 
form, do nothing additional

It is a question in what form an encoded query will be send, it could be e.g. a 
Solr URL, that then would be parsed to fill each used field.

edit:
I have a working solution. How to proceed next? 



was (Author: jzak):
Yes, it will look like this (or similar to this).
As I checked the code one of my ideas would be that
the 'Execute Query' button will call the function that changes the URL,
e.g. in the way: original URL
http://localhost:8983/solr/index.html#/core/query
changed URL
http://localhost:8983/solr/index.html#/core/query?query=(encoded_query).

This pulls the controller, the controller parses the URL and checks if the URL
contains the 'query' parameter
if yes, build a Solr URL and pass it to a service
if not (default state after clicking the Query menu option) - just display the 
form, do nothing additional

It is a question in what form an encoded query will be send, it could be e.g. a 
Solr URL, that then would be parsed to fill each used field.


> Query tab - allow using browser "previous", "next" buttons to load 
> previous/next queries in the form
> 
>
> Key: SOLR-9010
> URL: https://issues.apache.org/jira/browse/SOLR-9010
> Project: Solr
>  Issue Type: Improvement
>  Components: web gui
>Affects Versions: 5.5
> Environment: Lucene Solr for Linux (downloaded as an archive)
>Reporter: Jakub Zakrzewski
>
> Hi guys,
> I'm new here, however I have been using solr web admin interface for some 
> weeks now. 
> My problem is that I often would like to access my previous queries loaded in 
> the form. However it is not possible now.
> I'd like to have an url that opened will load the values to the form fields.
> Now the web gui displays an url which is a solr request url and not web admin 
> query url.
> I could implement this feature or create a web page that will use this 
> feature. Are you interested?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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