Re: UI for solr core admin?
So, net-net, I think the functionality of core admin is basic enough to implement a jsp for, though if the velocity thingy works out to the box, great! On Wed, Dec 9, 2009 at 10:33 PM, Mattmann, Chris A (388J) chris.a.mattm...@jpl.nasa.gov wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++
Re: UI for solr core admin?
: Well sure, Solr is no webapp framework. But you can do some things with the : ShowFileRequestHandler, like have static textual content (like CSS and While i think it's definitely important to have some basic admin functionality available in the war, at a certain point we should really just focus on making sure there's a good HTTP/XMl/JSON based API for everything, and perhaps distribute the Admin console as a seperate webapp (or perhaps not even a webapp, maybe just a collection of HTML files that use AJAX to do everything) ShowFileRequestHandler can take you pretty far, but eventually you either have to say put this big hunk of stuff in your solrcofig.xml or it won't work or you have to have the admin tool inspect hte core to get a lot of data it needs to build up the admin pages -- so let's just expose all that data via XML/JSON and (ie: registry.jsp on steriods) and then any external tool (built by us in velocity, built by someone else in ruby, built by several differnet people to integrate into several differnet tools) can use it to get the metadata it needs to drive tool behavior. I had some notes along htese lines once, ... ah yes ... http://wiki.apache.org/solr/MakeSolrMoreSelfService ...some of that stuff has already come to pass, and the rest is pretty out of date with how we do things now, but the idea of having a clean API to discover what handlers a given solr port exposes, and what params that instance of those handlers say they accept is still a really good idea. in the context of this discussion it's a little differnet because we're taling specificly about hte CoreAdminHandler -- but hte principle is hte same. -Hoss
Re: UI for solr core admin?
There is a general problem here in that Solr has no configuration for content management. There is nowhere to throw in images and html pages as part of your velocity app either. On Wed, Dec 9, 2009 at 11:09 PM, Erik Hatcher erik.hatc...@gmail.com wrote: After I sent that, though, I realized that the core admin is special in that it isn't within the context of a single core. I'll have to research this and see, but I suspect there may be an issue with using VwR for this particular handler, as it wouldn't have a solr-home/conf/velocity directory to pull templates from. I'll look into it. Erik On Dec 10, 2009, at 7:51 AM, Mattmann, Chris A (388J) wrote: Nice, Erik! Cheers, Chris On 12/9/09 10:39 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Just a note about the hidden gem that I haven't taken as far as I'd like... With the VelocityResponseWriter, it's as easy as creating a Velocity template (and wiring in VwR in solrconfig, which I'll set up by default in 1.5). It will even default to the template named after the handler name, so all you have to do is wt=velocity. Erik On Dec 10, 2009, at 7:33 AM, Mattmann, Chris A (388J) wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ -- Lance Norskog goks...@gmail.com
Re: UI for solr core admin?
Well sure, Solr is no webapp framework. But you can do some things with the ShowFileRequestHandler, like have static textual content (like CSS and JavaScript, or just an HTML page) served up. And you can simply have a Velocity template with static text in it, and map it as a request handler, so /solr/view.html can get served up from a dummy request handler with wt=velocity and v.template=view set in solrconfig.xml, like this: requestHandler name=/view.html class=solr.DumpRequestHandler lst name=defaults str name=wtvelocity/str str name=v.templateview/str /lst /requestHandler One issue with ShowFileRequestHandler currently is that it cannot serve up binary content, though. So images are an issue unfortunately. I think this should be fixed, as there could be binary data files (an optimized Chinese dictionary, maybe) that you'd want accessible externally, not just for this fancy view stuff. So, in summary: HTML handled. Images still an issue. Erik On Dec 11, 2009, at 4:49 AM, Lance Norskog wrote: There is a general problem here in that Solr has no configuration for content management. There is nowhere to throw in images and html pages as part of your velocity app either. On Wed, Dec 9, 2009 at 11:09 PM, Erik Hatcher erik.hatc...@gmail.com wrote: After I sent that, though, I realized that the core admin is special in that it isn't within the context of a single core. I'll have to research this and see, but I suspect there may be an issue with using VwR for this particular handler, as it wouldn't have a solr-home/conf/velocity directory to pull templates from. I'll look into it. Erik On Dec 10, 2009, at 7:51 AM, Mattmann, Chris A (388J) wrote: Nice, Erik! Cheers, Chris On 12/9/09 10:39 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Just a note about the hidden gem that I haven't taken as far as I'd like... With the VelocityResponseWriter, it's as easy as creating a Velocity template (and wiring in VwR in solrconfig, which I'll set up by default in 1.5). It will even default to the template named after the handler name, so all you have to do is wt=velocity. Erik On Dec 10, 2009, at 7:33 AM, Mattmann, Chris A (388J) wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ -- Lance Norskog goks...@gmail.com
UI for solr core admin?
I assume there isn't one? Anything in the works?
Re: UI for solr core admin?
On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar.
Re: UI for solr core admin?
Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++
Re: UI for solr core admin?
Just a note about the hidden gem that I haven't taken as far as I'd like... With the VelocityResponseWriter, it's as easy as creating a Velocity template (and wiring in VwR in solrconfig, which I'll set up by default in 1.5). It will even default to the template named after the handler name, so all you have to do is wt=velocity. Erik On Dec 10, 2009, at 7:33 AM, Mattmann, Chris A (388J) wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++
Re: UI for solr core admin?
Nice, Erik! Cheers, Chris On 12/9/09 10:39 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Just a note about the hidden gem that I haven't taken as far as I'd like... With the VelocityResponseWriter, it's as easy as creating a Velocity template (and wiring in VwR in solrconfig, which I'll set up by default in 1.5). It will even default to the template named after the handler name, so all you have to do is wt=velocity. Erik On Dec 10, 2009, at 7:33 AM, Mattmann, Chris A (388J) wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++
Re: UI for solr core admin?
After I sent that, though, I realized that the core admin is special in that it isn't within the context of a single core. I'll have to research this and see, but I suspect there may be an issue with using VwR for this particular handler, as it wouldn't have a solr-home/conf/ velocity directory to pull templates from. I'll look into it. Erik On Dec 10, 2009, at 7:51 AM, Mattmann, Chris A (388J) wrote: Nice, Erik! Cheers, Chris On 12/9/09 10:39 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Just a note about the hidden gem that I haven't taken as far as I'd like... With the VelocityResponseWriter, it's as easy as creating a Velocity template (and wiring in VwR in solrconfig, which I'll set up by default in 1.5). It will even default to the template named after the handler name, so all you have to do is wt=velocity. Erik On Dec 10, 2009, at 7:33 AM, Mattmann, Chris A (388J) wrote: Hi Jason, Patches welcome, though! :) Cheers, Chris On 12/9/09 10:31 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Dec 10, 2009 at 11:52 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: I assume there isn't one? Anything in the works? Nope. -- Regards, Shalin Shekhar Mangar. ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++ ++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: chris.mattm...@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++