[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268803#comment-15268803 ] Jakub Zakrzewski commented on SOLR-9010: 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] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268771#comment-15268771 ] Jakub Zakrzewski commented on SOLR-9010: I created a new git repository and uploaded the modified file there. The repository is available under https://github.com/kbntk/solr-webapp-angular-query-controller > 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
Re: [jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
bq: I just edited the file I have in the solr I use on the local computer. How did you get the file in the first place? Explode the tarball with the release? If you're using an IDE (Ecliple or IntelliJ) there's probably a "create patch" button. But if all that fails, post the file someplace and let us know where and we'll see if we can create a patch. I'm assuming it's based on 5.5? Best, Erick On Tue, May 3, 2016 at 6:56 AM, Jakub Zakrzewski (JIRA)wrote: > > [ > https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268750#comment-15268750 > ] > > Jakub Zakrzewski commented on SOLR-9010: > > > I don't know how to create a patch. > I didn't clone the git repository, I just edited the file I have in the solr > I use on the local computer. > > I have a feeling that for a patch or a pull request the git commands will be > needed. And since I didn't get the file through git it might be more time > consuming than otherwise. > > Is it OK to upload the file to my github profile and link it somewhere (here > or on the dev mailing list?). > >> 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 > - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15268750#comment-15268750 ] Jakub Zakrzewski commented on SOLR-9010: I don't know how to create a patch. I didn't clone the git repository, I just edited the file I have in the solr I use on the local computer. I have a feeling that for a patch or a pull request the git commands will be needed. And since I didn't get the file through git it might be more time consuming than otherwise. Is it OK to upload the file to my github profile and link it somewhere (here or on the dev mailing list?). > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15255252#comment-15255252 ] Jan Høydahl commented on SOLR-9010: --- Create a patch and upload it to this JIRA. Alternatively open a GitHub pull request, mentioning SOLR-9010 in the PR, it will be linked to this one. Once the patch/PR is up, you will get feedback from other developers, perhaps a few iterations until it is ready for inclusion. > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15248138#comment-15248138 ] Upayavira commented on SOLR-9010: - [~jzak] yes, that's the idea > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247823#comment-15247823 ] Jakub Zakrzewski commented on SOLR-9010: 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247730#comment-15247730 ] Jan Høydahl commented on SOLR-9010: --- SPA=Single Page Application https://en.wikipedia.org/wiki/Single-page_application > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247719#comment-15247719 ] Jakub Zakrzewski commented on SOLR-9010: Jan, I'm new to angularjs, but I have found already a place where the filling in the boxes happens and it does happen in the file js/angular/controllers/query.js the part responsible for loading the q parameter from the url is on line 89: if ($location.search().q) { $scope.query.q = $location.search()["q"]; $scope.doQuery(); } What is SPA? > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247709#comment-15247709 ] Upayavira commented on SOLR-9010: - I'm gonna assume for now that we're talking about the new UI (from Jan's index.html reference, he is too). The issue if I recall it is that, in Angular, changing the URL triggers a reload of the controller. This changes the workflow of the page substantially - when executing a query, rather than building a Solr URL to pass to a service, you need to build an Angular URL, then, when the controller starts up again, parse that angular URL into the $scope, then build a Solr URL and execute it. Certainly not impossible, just a rather different way of doing it from how it was initially coded. I'm certainly game for reviewing [~jzak]'s work if he wants to give it a go. I'd say, pretty much the entire work will be in js/angular/controllers/query.js. > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247686#comment-15247686 ] Jan Høydahl commented on SOLR-9010: --- +1 According to SOLR-8989 it already works for the {{q}} parameter using syntax http://localhost:8983/solr/index.html#/foo/query?q=myquery, but i tested and it does not work for e.g. {{fq}} or {{sort}}. So I guess there are two parts to this. The first being the JS looking for query params to fill in the boxes, the other is making the SPA modify the URL when search button is hit. I think it is possible without page reload since the change is after the {{#}}? > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247681#comment-15247681 ] Jakub Zakrzewski commented on SOLR-9010: Hi Stefan, Yes, it's OK to post it to the mailing list. Should I do it? > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247664#comment-15247664 ] Stefan Matheis (steffkes) commented on SOLR-9010: - Right after i've wrote that comment, i did realize how many questions i've included in it already - Jakub would you mind taking this idea to the mailing-list, so we could discuss it with others and then return to this ticket? enhance the description with proper details and things like that > 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
[jira] [Commented] (SOLR-9010) Query tab - allow using browser "previous", "next" buttons to load previous/next queries in the form
[ https://issues.apache.org/jira/browse/SOLR-9010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15247663#comment-15247663 ] Stefan Matheis (steffkes) commented on SOLR-9010: - Hey [~jzak], short note aside: normally we try to bring up such questions / feature-ideas on the mailing list to discuss the details before we open up JIRA-Tickets. if you'd remember that for the next time, that'd be perfect. related to your suggestion: i think it's a nice addition. i don't have an idea, how i'd build something like that - especially in terms of the user interface (how to navigate back and forth ..) - but if it would be possible that you bring up a patch, a screenshot/-mock or at least a description of how you think it might work, we could discuss that. -Stefan > 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