Hi,

I would like to add a few utility commands to the DIH admin page. I
frequently need these commands to manage the index. The commands are: full
Import, delta Import, status, reload config, ... In addition to "Return to
Admin Page" link.

It will be a simple forms at the end of debug.jsp as following:

<form action="../dataimport" target="result" method="get">
    <input type="hidden" name="clean" value="false">
    <input type="hidden" name="commit" value="true">
    <input class="stdbutton" type="submit" name="command"
value="full-import">
    <input class="stdbutton" type="submit" name="command"
value="delta-import">
    <input class="stdbutton" type="submit" name="command" value="status">
    <input class="stdbutton" type="submit" name="command"
value="reload-config">
    <input class="stdbutton" type="submit" name="command" value="abort">
</form>

<form action="../select" target="result" method="get">
    <input type="hidden" name="q" value="*:*">
    <input type="hidden" name="start" value="0">
    <input type="hidden" name="rows" value="0">
    <input class="stdbutton" type="submit" value="Documents Count">
</form>

<form action="../dataimport" target="result" method="get">
    <input type="hidden" name="verbose" value="true">
    <input type="hidden" name="clean" value="true">
    <input type="hidden" name="commit" value="true">
    <input type="hidden" name="command" value="full-import">
    <input class="stdbutton" type="submit" value="Full Import with
Cleaning">
</form>

<a href="index.jsp" target="_parent">Return to Admin Page</a>

----

What do you think? I would like to know if there exist better ways.


Regards,
Ahmed

Reply via email to