[
https://issues.apache.org/jira/browse/SOLR-13412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825287#comment-16825287
]
Erick Erickson commented on SOLR-13412:
---------------------------------------
Well, I spent some time adding a new "luke" command to bin/solr and getting
SolrCLI to catch it, with two optional parameters, one to specify a core to
auto-start with and one to specify solr_home. There are two things I need to
do to make progress:
1> a way to invoke this from a distribution. So far, we don't have a target to
bundle Luke up into a jar that can be added to the "ant package" Solr build
target
2> a way to pass an argument to the main method and have it auto-open the index
indicated. Passing the argument(s) is trivial, I just haven't taken a dive into
the code to figure out how to bypass the dialog box if the -core param is
present and to set the CWD to solr_home if that parameter is present.
I didn't go very far with either of those before I ran out of time, and I'll be
on vacation most of next week so I'm not sure when I'll get back to it.
Progress so far attached in a second.
> Make the Lucene Luke module available from a Solr distribution
> --------------------------------------------------------------
>
> Key: SOLR-13412
> URL: https://issues.apache.org/jira/browse/SOLR-13412
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Erick Erickson
> Assignee: Erick Erickson
> Priority: Major
>
> Now that [~Tomoko Uchida] has put in a great effort to bring Luke into the
> project, I think it would be good to be able to access it from a Solr distro.
> I want to go to the right place under the Solr install directory and start
> Luke up to examine the local indexes.
> This ticket is explicitly _not_ about accessing it from the admin UI, Luke is
> a stand-alone app that must be invoked on the node that has a Lucene index on
> the local filesystem
> We need to
> * have it included in Solr when running "ant package".
> * add some bits to the ref guide on how to invoke
> ** Where to invoke it from
> ** mention anything that has to be installed.
> ** any other "gotchas" someone just installing Solr should be aware of.
> * Ant should not be necessary.
> * ????
>
> I'll assign this to myself to keep track of, but would not be offended in the
> least if someone with more knowledge of "ant package" and the like wanted to
> take it over ;)
> If we can do it at all....
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]