Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
titleweb.xml
collapsetrue
<servlet>
        <servlet-name>searchJSON</servlet-name>
        <servlet-class>org.dspace.app.webui.servlet.SearchJSONServlet</servlet-class>
</servlet>
<servlet-mapping>
        <servlet-name>searchJSON</servlet-name>
        <url-pattern>/searchJSON/*</url-pattern>
</servlet-mapping>

 Check results

After we package and install our modified version of JPSUI interface in our webserver, we will check a pair aspects to be sure everthing works as expected.

First we'll browse locally to http://127.0.0.1/solr/ and must appear three SOLR cores as hyperlinks:

  1. search
  2. statistics
  3. searchJSPUI.

Note: If there's no desktop environment installed on your server you can use "links" package to browse it on text mode.

We'll click on last one and try to access it's admin webpage and then to schema browser, it must three categories on left column bar: fields, dynamic fields and field types.

Other possible scenarios

If this modification is done over a running instance with data in it we must follow this steps after run "ant update":

  • Wiki Markup
    run an index rebuild to populate \[dspace\]/solr/searchJSPUI/data/index folder with current search indexes (recommended) or copy them directly from \[dspace\]/search