Package org.apache.tika.server.eval
Class TikaEvalResource
java.lang.Object
org.apache.tika.server.eval.TikaEvalResource
- All Implemented Interfaces:
TikaServerResource
,ServerStatusResource
@Path("/eval")
public class TikaEvalResource
extends Object
implements TikaServerResource, ServerStatusResource
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncompare
(InputStream is) profile
(InputStream is) void
setServerStatus
(ServerStatus serverStatus)
-
Field Details
-
TEXT
- See Also:
-
TEXT_A
- See Also:
-
TEXT_B
- See Also:
-
ID
- See Also:
-
DICE
-
OVERLAP
-
DEFAULT_TIMEOUT_MILLIS
public static final long DEFAULT_TIMEOUT_MILLIS- See Also:
-
-
Constructor Details
-
TikaEvalResource
public TikaEvalResource()
-
-
Method Details
-
compare
@PUT @Consumes("application/json") @Produces("application/json") @Path("compare") public Map<String,Object> compare(InputStream is) throws Exception - Throws:
Exception
-
profile
@PUT @Consumes("application/json") @Produces("application/json") @Path("profile") public Map<String,Object> profile(InputStream is) throws Exception - Throws:
Exception
-
setServerStatus
- Specified by:
setServerStatus
in interfaceServerStatusResource
-