You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Amit Nithian <an...@gmail.com> on 2012/05/11 07:32:20 UTC
Editing long Solr URLs - Chrome Extension
Hey all,
I don't know about you but most of the Solr URLs I issue are fairly
lengthy full of parameters on the query string and browser location
bars aren't long enough/have multi-line capabilities. I tried to find
something that does this but couldn't so I wrote a chrome extension to
help.
Please check out my blog post on the subject and please let me know if
something doesn't work or needs improvement. Of course this can work
for any URL with a query string but my motivation was to help edit my
long Solr URLs.
http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
Thanks!
Amit
Re: Editing long Solr URLs - Chrome Extension
Posted by Amit Nithian <an...@gmail.com>.
All,
I have placed a new version of the extension (suffixed _0.3) at
https://github.com/ANithian/url_edit_extension/downloads. A few of the
bugs resolved:
1) Switching to a tab in a new window and clicking on the extension
wasn't loading the right URL
2) Complex SOLR URLs (ironic as this was the purpose) weren't being
handled properly. I had to ditch the 3rd party URL parser in favor of
my own which should better handle these complex parameters.
3) Replaced the edit box of the parameter value from a single line
textbox to a multiple line textarea. This doesn't solve the "tab" to
edit the next row but it helps a bit in that problem.
Please keep submitting issues as you encounter them and I'll address
them as best as possible. I hope that this helps everyone!
Thanks!
Amit
On Tue, May 15, 2012 at 6:20 PM, Amit Nithian <an...@gmail.com> wrote:
> Erick
>
> Yes thanks I did see that and am working on a solution to that already. Hope
> to post a new revision shortly and eventually migrate to the extension
> "store".
>
> Cheers
> Amit
>
> On May 15, 2012 9:20 AM, "Erick Erickson" <er...@gmail.com> wrote:
>>
>> I think I put one up already, but in case I messed up github, complex
>> params like the fq here:
>>
>> http://localhost:8983/solr/select?q=:&fq={!geofilt sfield=store
>> pt=52.67,7.30 d=5}
>>
>> aren't properly handled.
>>
>> But I'm already using it occasionally....
>>
>> Erick
>>
>> On Tue, May 15, 2012 at 10:02 AM, Amit Nithian <an...@gmail.com> wrote:
>> > Jan
>> >
>> > Thanks for your feedback! If possible can you file these requests on the
>> > github page for the extension so I can work on them? They sound like
>> > great
>> > ideas and I'll try to incorporate all of them in future releases.
>> >
>> > Thanks
>> > Amit
>> > On May 11, 2012 9:57 AM, "Jan Høydahl" <ja...@hoydahl.no> wrote:
>> >
>> >> I've been testing
>> >>
>> >> https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=enbut
>> >> I don't think it's great.
>> >>
>> >> Great work on this one. Simple and straight forward. A few wishes:
>> >> * Sticky mode? This tool would make sense in a sidebar, to do rapid
>> >> refinements
>> >> * If you edit a value and click "TAB", it is not updated :(
>> >> * It should not be necessary to URLencode all non-ascii chars - why not
>> >> leave colon, caret (^) etc as is, for better readability?
>> >> * Some param values in Solr may be large, such as "fl", "qf" or "bf".
>> >> Would be nice if the edit box was multi-line, or perhaps adjusts to the
>> >> size of the content
>> >>
>> >> --
>> >> Jan Høydahl, search solution architect
>> >> Cominvent AS - www.facebook.com/Cominvent
>> >> Solr Training - www.solrtraining.com
>> >>
>> >> On 11. mai 2012, at 07:32, Amit Nithian wrote:
>> >>
>> >> > Hey all,
>> >> >
>> >> > I don't know about you but most of the Solr URLs I issue are fairly
>> >> > lengthy full of parameters on the query string and browser location
>> >> > bars aren't long enough/have multi-line capabilities. I tried to find
>> >> > something that does this but couldn't so I wrote a chrome extension
>> >> > to
>> >> > help.
>> >> >
>> >> > Please check out my blog post on the subject and please let me know
>> >> > if
>> >> > something doesn't work or needs improvement. Of course this can work
>> >> > for any URL with a query string but my motivation was to help edit my
>> >> > long Solr URLs.
>> >> >
>> >> >
>> >>
>> >> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
>> >> >
>> >> > Thanks!
>> >> > Amit
>> >>
>> >>
Re: Editing long Solr URLs - Chrome Extension
Posted by Amit Nithian <an...@gmail.com>.
Erick
Yes thanks I did see that and am working on a solution to that already.
Hope to post a new revision shortly and eventually migrate to the extension
"store".
Cheers
Amit
On May 15, 2012 9:20 AM, "Erick Erickson" <er...@gmail.com> wrote:
> I think I put one up already, but in case I messed up github, complex
> params like the fq here:
>
> http://localhost:8983/solr/select?q=:&fq={!geofilt sfield=store
> pt=52.67,7.30 d=5}
>
> aren't properly handled.
>
> But I'm already using it occasionally....
>
> Erick
>
> On Tue, May 15, 2012 at 10:02 AM, Amit Nithian <an...@gmail.com> wrote:
> > Jan
> >
> > Thanks for your feedback! If possible can you file these requests on the
> > github page for the extension so I can work on them? They sound like
> great
> > ideas and I'll try to incorporate all of them in future releases.
> >
> > Thanks
> > Amit
> > On May 11, 2012 9:57 AM, "Jan Høydahl" <ja...@hoydahl.no> wrote:
> >
> >> I've been testing
> >>
> https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=enbutI don't think it's great.
> >>
> >> Great work on this one. Simple and straight forward. A few wishes:
> >> * Sticky mode? This tool would make sense in a sidebar, to do rapid
> >> refinements
> >> * If you edit a value and click "TAB", it is not updated :(
> >> * It should not be necessary to URLencode all non-ascii chars - why not
> >> leave colon, caret (^) etc as is, for better readability?
> >> * Some param values in Solr may be large, such as "fl", "qf" or "bf".
> >> Would be nice if the edit box was multi-line, or perhaps adjusts to the
> >> size of the content
> >>
> >> --
> >> Jan Høydahl, search solution architect
> >> Cominvent AS - www.facebook.com/Cominvent
> >> Solr Training - www.solrtraining.com
> >>
> >> On 11. mai 2012, at 07:32, Amit Nithian wrote:
> >>
> >> > Hey all,
> >> >
> >> > I don't know about you but most of the Solr URLs I issue are fairly
> >> > lengthy full of parameters on the query string and browser location
> >> > bars aren't long enough/have multi-line capabilities. I tried to find
> >> > something that does this but couldn't so I wrote a chrome extension to
> >> > help.
> >> >
> >> > Please check out my blog post on the subject and please let me know if
> >> > something doesn't work or needs improvement. Of course this can work
> >> > for any URL with a query string but my motivation was to help edit my
> >> > long Solr URLs.
> >> >
> >> >
> >>
> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
> >> >
> >> > Thanks!
> >> > Amit
> >>
> >>
>
Re: Editing long Solr URLs - Chrome Extension
Posted by Erick Erickson <er...@gmail.com>.
I think I put one up already, but in case I messed up github, complex
params like the fq here:
http://localhost:8983/solr/select?q=:&fq={!geofilt sfield=store
pt=52.67,7.30 d=5}
aren't properly handled.
But I'm already using it occasionally....
Erick
On Tue, May 15, 2012 at 10:02 AM, Amit Nithian <an...@gmail.com> wrote:
> Jan
>
> Thanks for your feedback! If possible can you file these requests on the
> github page for the extension so I can work on them? They sound like great
> ideas and I'll try to incorporate all of them in future releases.
>
> Thanks
> Amit
> On May 11, 2012 9:57 AM, "Jan Høydahl" <ja...@hoydahl.no> wrote:
>
>> I've been testing
>> https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=enbut I don't think it's great.
>>
>> Great work on this one. Simple and straight forward. A few wishes:
>> * Sticky mode? This tool would make sense in a sidebar, to do rapid
>> refinements
>> * If you edit a value and click "TAB", it is not updated :(
>> * It should not be necessary to URLencode all non-ascii chars - why not
>> leave colon, caret (^) etc as is, for better readability?
>> * Some param values in Solr may be large, such as "fl", "qf" or "bf".
>> Would be nice if the edit box was multi-line, or perhaps adjusts to the
>> size of the content
>>
>> --
>> Jan Høydahl, search solution architect
>> Cominvent AS - www.facebook.com/Cominvent
>> Solr Training - www.solrtraining.com
>>
>> On 11. mai 2012, at 07:32, Amit Nithian wrote:
>>
>> > Hey all,
>> >
>> > I don't know about you but most of the Solr URLs I issue are fairly
>> > lengthy full of parameters on the query string and browser location
>> > bars aren't long enough/have multi-line capabilities. I tried to find
>> > something that does this but couldn't so I wrote a chrome extension to
>> > help.
>> >
>> > Please check out my blog post on the subject and please let me know if
>> > something doesn't work or needs improvement. Of course this can work
>> > for any URL with a query string but my motivation was to help edit my
>> > long Solr URLs.
>> >
>> >
>> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
>> >
>> > Thanks!
>> > Amit
>>
>>
Re: Editing long Solr URLs - Chrome Extension
Posted by Amit Nithian <an...@gmail.com>.
Jan
Thanks for your feedback! If possible can you file these requests on the
github page for the extension so I can work on them? They sound like great
ideas and I'll try to incorporate all of them in future releases.
Thanks
Amit
On May 11, 2012 9:57 AM, "Jan Høydahl" <ja...@hoydahl.no> wrote:
> I've been testing
> https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=enbut I don't think it's great.
>
> Great work on this one. Simple and straight forward. A few wishes:
> * Sticky mode? This tool would make sense in a sidebar, to do rapid
> refinements
> * If you edit a value and click "TAB", it is not updated :(
> * It should not be necessary to URLencode all non-ascii chars - why not
> leave colon, caret (^) etc as is, for better readability?
> * Some param values in Solr may be large, such as "fl", "qf" or "bf".
> Would be nice if the edit box was multi-line, or perhaps adjusts to the
> size of the content
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.facebook.com/Cominvent
> Solr Training - www.solrtraining.com
>
> On 11. mai 2012, at 07:32, Amit Nithian wrote:
>
> > Hey all,
> >
> > I don't know about you but most of the Solr URLs I issue are fairly
> > lengthy full of parameters on the query string and browser location
> > bars aren't long enough/have multi-line capabilities. I tried to find
> > something that does this but couldn't so I wrote a chrome extension to
> > help.
> >
> > Please check out my blog post on the subject and please let me know if
> > something doesn't work or needs improvement. Of course this can work
> > for any URL with a query string but my motivation was to help edit my
> > long Solr URLs.
> >
> >
> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
> >
> > Thanks!
> > Amit
>
>
Re: Editing long Solr URLs - Chrome Extension
Posted by Erick Erickson <er...@gmail.com>.
Cool!
On Fri, May 11, 2012 at 10:56 AM, Jan Høydahl <ja...@hoydahl.no> wrote:
> I've been testing https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=en but I don't think it's great.
>
> Great work on this one. Simple and straight forward. A few wishes:
> * Sticky mode? This tool would make sense in a sidebar, to do rapid refinements
> * If you edit a value and click "TAB", it is not updated :(
> * It should not be necessary to URLencode all non-ascii chars - why not leave colon, caret (^) etc as is, for better readability?
> * Some param values in Solr may be large, such as "fl", "qf" or "bf". Would be nice if the edit box was multi-line, or perhaps adjusts to the size of the content
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.facebook.com/Cominvent
> Solr Training - www.solrtraining.com
>
> On 11. mai 2012, at 07:32, Amit Nithian wrote:
>
>> Hey all,
>>
>> I don't know about you but most of the Solr URLs I issue are fairly
>> lengthy full of parameters on the query string and browser location
>> bars aren't long enough/have multi-line capabilities. I tried to find
>> something that does this but couldn't so I wrote a chrome extension to
>> help.
>>
>> Please check out my blog post on the subject and please let me know if
>> something doesn't work or needs improvement. Of course this can work
>> for any URL with a query string but my motivation was to help edit my
>> long Solr URLs.
>>
>> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
>>
>> Thanks!
>> Amit
>
Re: Editing long Solr URLs - Chrome Extension
Posted by Jan Høydahl <ja...@hoydahl.no>.
I've been testing https://chrome.google.com/webstore/detail/mbnigpeabbgkmbcbhkkbnlidcobbapff?hl=en but I don't think it's great.
Great work on this one. Simple and straight forward. A few wishes:
* Sticky mode? This tool would make sense in a sidebar, to do rapid refinements
* If you edit a value and click "TAB", it is not updated :(
* It should not be necessary to URLencode all non-ascii chars - why not leave colon, caret (^) etc as is, for better readability?
* Some param values in Solr may be large, such as "fl", "qf" or "bf". Would be nice if the edit box was multi-line, or perhaps adjusts to the size of the content
--
Jan Høydahl, search solution architect
Cominvent AS - www.facebook.com/Cominvent
Solr Training - www.solrtraining.com
On 11. mai 2012, at 07:32, Amit Nithian wrote:
> Hey all,
>
> I don't know about you but most of the Solr URLs I issue are fairly
> lengthy full of parameters on the query string and browser location
> bars aren't long enough/have multi-line capabilities. I tried to find
> something that does this but couldn't so I wrote a chrome extension to
> help.
>
> Please check out my blog post on the subject and please let me know if
> something doesn't work or needs improvement. Of course this can work
> for any URL with a query string but my motivation was to help edit my
> long Solr URLs.
>
> http://hokiesuns.blogspot.com/2012/05/manipulating-urls-with-long-query.html
>
> Thanks!
> Amit