Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Alexandre Rafalovitch
Ok, good to know. I was under the impression that search screen was
more 'magic'. But I did not poke around those internals.

Regards,
Alex.

http://www.solr-start.com/ - Resources for Solr users, new and experienced


On 28 December 2016 at 05:26, Stefan Matheis  wrote:
> Alex, this is what we already do for the analysis screen - not that much
> magic happening there ;)
>
> -Stefan
>
> On Dec 27, 2016 11:54 PM, "Alexandre Rafalovitch" 
> wrote:
>
>> I think there may be a ticket for something similar. Or related to
>> rerunning a same query/configuration on a new core.
>>
>> Worth having a quick look anyway.
>>
>> The challenge would be to write the infrastructure that will unpack
>> those parameters back into the boxes. Because some go into raw query,
>> some go into specific boxes, etc.
>>
>> Regards,
>>Alex.
>> 
>> http://www.solr-start.com/ - Resources for Solr users, new and experienced
>>
>>
>> On 27 December 2016 at 16:02, Stefan Matheis 
>> wrote:
>> > Sebastian,
>> >
>> > currently not - i'm sorry to say. We did it for the analysis screen but
>> not
>> > for the query screen. Shouldn't be too hard to add this kind of
>> persitence.
>> >
>> > Would you mind opening a ticket, so we can track the progress. Depending
>> on
>> > your knowledge, you might be willing to give it a first whirl?
>> >
>> > -Stefan
>> >
>> > On Dec 27, 2016 12:09 PM, "Sebastian Riemer" 
>> wrote:
>> >
>> > Hi,
>> >
>> > is there an easy way to preserve the query data I input in SolrAdmin?
>> >
>> > E.g. when debugging a query, I often have the desire to reopen the
>> current
>> > query in solrAdmin in a new browser tab to make slight adaptions to the
>> > query without losing the original query.  What happens instead is the
>> form
>> > is opened blank in the new tab and I have to manually copy/paste the
>> > entered form values.
>> >
>> > This is not such a big problem, when I only use the "Raw Query
>> Parameters"
>> > field, but editing something in that tiny input is a real pain ...
>> >
>> > I wonder how others come around this?
>> >
>> > Sebastian
>>


Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Rick Leir

Agreed, this would be handy. I had that need just last week.

There are a few chrome tools which claim to do save/load. This only 
saves once:


https://chrome.google.com/webstore/detail/form-save-and-restore/jknhanfpdjpnkfjjkpofcpegcbhpigcd/related

Best solution: right click, choose 'Inspect'. Use the tab 'Form Viewer' 
to save form values, and use 'Apply To Page' to restore them.

cheers -- Rick

On 2016-12-27 12:25 PM, Erick Erickson wrote:

Use curl and edit a file maybe?

Or edit a file and copy/paste into the address bar? I often do this
and combined with browser format tools for XML or JSON let's me get
by.

IOW, there's really nothing I know of that allows you to save/retrieve
the contents of the admin UI form. It'd be a neat contribution though.

Best,
Erick



On Tue, Dec 27, 2016 at 3:09 AM, Sebastian Riemer  wrote:

Hi,

is there an easy way to preserve the query data I input in SolrAdmin?

E.g. when debugging a query, I often have the desire to reopen the current 
query in solrAdmin in a new browser tab to make slight adaptions to the query 
without losing the original query.  What happens instead is the form is opened 
blank in the new tab and I have to manually copy/paste the entered form values.

This is not such a big problem, when I only use the "Raw Query Parameters" 
field, but editing something in that tiny input is a real pain ...

I wonder how others come around this?

Sebastian





Re: Easy way to preserve Solr Admin form input

2016-12-28 Thread Stefan Matheis
Alex, this is what we already do for the analysis screen - not that much
magic happening there ;)

-Stefan

On Dec 27, 2016 11:54 PM, "Alexandre Rafalovitch" 
wrote:

> I think there may be a ticket for something similar. Or related to
> rerunning a same query/configuration on a new core.
>
> Worth having a quick look anyway.
>
> The challenge would be to write the infrastructure that will unpack
> those parameters back into the boxes. Because some go into raw query,
> some go into specific boxes, etc.
>
> Regards,
>Alex.
> 
> http://www.solr-start.com/ - Resources for Solr users, new and experienced
>
>
> On 27 December 2016 at 16:02, Stefan Matheis 
> wrote:
> > Sebastian,
> >
> > currently not - i'm sorry to say. We did it for the analysis screen but
> not
> > for the query screen. Shouldn't be too hard to add this kind of
> persitence.
> >
> > Would you mind opening a ticket, so we can track the progress. Depending
> on
> > your knowledge, you might be willing to give it a first whirl?
> >
> > -Stefan
> >
> > On Dec 27, 2016 12:09 PM, "Sebastian Riemer" 
> wrote:
> >
> > Hi,
> >
> > is there an easy way to preserve the query data I input in SolrAdmin?
> >
> > E.g. when debugging a query, I often have the desire to reopen the
> current
> > query in solrAdmin in a new browser tab to make slight adaptions to the
> > query without losing the original query.  What happens instead is the
> form
> > is opened blank in the new tab and I have to manually copy/paste the
> > entered form values.
> >
> > This is not such a big problem, when I only use the "Raw Query
> Parameters"
> > field, but editing something in that tiny input is a real pain ...
> >
> > I wonder how others come around this?
> >
> > Sebastian
>


Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Alexandre Rafalovitch
I think there may be a ticket for something similar. Or related to
rerunning a same query/configuration on a new core.

Worth having a quick look anyway.

The challenge would be to write the infrastructure that will unpack
those parameters back into the boxes. Because some go into raw query,
some go into specific boxes, etc.

Regards,
   Alex.

http://www.solr-start.com/ - Resources for Solr users, new and experienced


On 27 December 2016 at 16:02, Stefan Matheis  wrote:
> Sebastian,
>
> currently not - i'm sorry to say. We did it for the analysis screen but not
> for the query screen. Shouldn't be too hard to add this kind of persitence.
>
> Would you mind opening a ticket, so we can track the progress. Depending on
> your knowledge, you might be willing to give it a first whirl?
>
> -Stefan
>
> On Dec 27, 2016 12:09 PM, "Sebastian Riemer"  wrote:
>
> Hi,
>
> is there an easy way to preserve the query data I input in SolrAdmin?
>
> E.g. when debugging a query, I often have the desire to reopen the current
> query in solrAdmin in a new browser tab to make slight adaptions to the
> query without losing the original query.  What happens instead is the form
> is opened blank in the new tab and I have to manually copy/paste the
> entered form values.
>
> This is not such a big problem, when I only use the "Raw Query Parameters"
> field, but editing something in that tiny input is a real pain ...
>
> I wonder how others come around this?
>
> Sebastian


Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Stefan Matheis
Sebastian,

currently not - i'm sorry to say. We did it for the analysis screen but not
for the query screen. Shouldn't be too hard to add this kind of persitence.

Would you mind opening a ticket, so we can track the progress. Depending on
your knowledge, you might be willing to give it a first whirl?

-Stefan

On Dec 27, 2016 12:09 PM, "Sebastian Riemer"  wrote:

Hi,

is there an easy way to preserve the query data I input in SolrAdmin?

E.g. when debugging a query, I often have the desire to reopen the current
query in solrAdmin in a new browser tab to make slight adaptions to the
query without losing the original query.  What happens instead is the form
is opened blank in the new tab and I have to manually copy/paste the
entered form values.

This is not such a big problem, when I only use the "Raw Query Parameters"
field, but editing something in that tiny input is a real pain ...

I wonder how others come around this?

Sebastian


Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Erik Hatcher
How's /browse fare for you?   What params are you adjusting regularly?

> On Dec 27, 2016, at 06:09, Sebastian Riemer  wrote:
> 
> Hi,
> 
> is there an easy way to preserve the query data I input in SolrAdmin?
> 
> E.g. when debugging a query, I often have the desire to reopen the current 
> query in solrAdmin in a new browser tab to make slight adaptions to the query 
> without losing the original query.  What happens instead is the form is 
> opened blank in the new tab and I have to manually copy/paste the entered 
> form values.
> 
> This is not such a big problem, when I only use the "Raw Query Parameters" 
> field, but editing something in that tiny input is a real pain ...
> 
> I wonder how others come around this?
> 
> Sebastian
> 


Re: Easy way to preserve Solr Admin form input

2016-12-27 Thread Erick Erickson
Use curl and edit a file maybe?

Or edit a file and copy/paste into the address bar? I often do this
and combined with browser format tools for XML or JSON let's me get
by.

IOW, there's really nothing I know of that allows you to save/retrieve
the contents of the admin UI form. It'd be a neat contribution though.

Best,
Erick



On Tue, Dec 27, 2016 at 3:09 AM, Sebastian Riemer  wrote:
> Hi,
>
> is there an easy way to preserve the query data I input in SolrAdmin?
>
> E.g. when debugging a query, I often have the desire to reopen the current 
> query in solrAdmin in a new browser tab to make slight adaptions to the query 
> without losing the original query.  What happens instead is the form is 
> opened blank in the new tab and I have to manually copy/paste the entered 
> form values.
>
> This is not such a big problem, when I only use the "Raw Query Parameters" 
> field, but editing something in that tiny input is a real pain ...
>
> I wonder how others come around this?
>
> Sebastian
>


Easy way to preserve Solr Admin form input

2016-12-27 Thread Sebastian Riemer
Hi,

is there an easy way to preserve the query data I input in SolrAdmin?

E.g. when debugging a query, I often have the desire to reopen the current 
query in solrAdmin in a new browser tab to make slight adaptions to the query 
without losing the original query.  What happens instead is the form is opened 
blank in the new tab and I have to manually copy/paste the entered form values.

This is not such a big problem, when I only use the "Raw Query Parameters" 
field, but editing something in that tiny input is a real pain ...

I wonder how others come around this?

Sebastian