VIVO-618 Revise SearchService to parse uploaded files correctly and to respond properly to authentication errors.

This commit is contained in:
j2blake 2013-12-05 16:36:26 -05:00
parent 0944a0d883
commit d08c3f61ff
10 changed files with 557 additions and 618 deletions

View file

@ -12,9 +12,8 @@
<p>This service will update the search index for the list of URIs it
receives. It expectes a POST with an encoding of
multpart/form-data. The service inspect all parts of this POST for
lists of URIs to reindex. The URIs should be comma or space
seperated. If no information can be found for a URI it will be
ignored.</p>
lists of URIs to reindex. The URIs should be separated by commas and/or white space.
If no information can be found for a URI it will be ignored.</p>
<p>The request parameters email and password allow the form to be submitted
for a user account. Only internal accounts are supported, external authentication
@ -33,8 +32,8 @@ is not supported.</p>
<label for="password">Account password</label>
<input type="text" name="password" id="password"/>
<label for="urisToUpdate">List of URIs to update in the search index</label>
<textarea name="urisToUpdate" id="urisToUpdate" rows="4" cols="50" ></textarea>
<label for="urisToUpdate">File of URIs to update in the search index</label>
<input type="file" name="datafile" size="30" />
<button type="submit">submit</button>
</form>