mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Automating Solr4 ivy and build process
This commit is contained in:
parent
703272f23d
commit
685c1f3c6a
@ -26,13 +26,21 @@
|
|||||||
<fileset dir="solr"/>
|
<fileset dir="solr"/>
|
||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
<target name="get-solr4-deployment" description="copy the solr 4 deployment into release">
|
||||||
|
<copy todir="${basedir}/release/solr4" > <!-- for embedded Solr 4 -->
|
||||||
|
<fileset dir="solr4"/>
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="get-deps" depends="init-ivy, get-solr-deployment">
|
<target name="get-deps" depends="init-ivy, get-solr-deployment, get-solr4-deployment">
|
||||||
<!-- fetch all the dependencies from Ivy and stick them in the right places -->
|
<!-- fetch all the dependencies from Ivy and stick them in the right places -->
|
||||||
<ivy:resolve log="quiet"/>
|
<ivy:resolve log="quiet"/>
|
||||||
<ivy:retrieve conf="autopsy" pattern="${basedir}/release/modules/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
<ivy:retrieve conf="autopsy" pattern="${basedir}/release/modules/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
||||||
<ivy:retrieve conf="solr-war" pattern="${basedir}/release/solr4/webapps/solr.war" /> <!-- for embedded Solr 4 -->
|
<ivy:retrieve conf="solr-war" pattern="${basedir}/release/solr4/webapps/solr.war" /> <!-- for embedded Solr 4 -->
|
||||||
<ivy:retrieve conf="start-solr" pattern="${basedir}/release/solr4/start.jar" /> <!-- for embedded Solr 4 -->
|
<ivy:retrieve conf="start-solr" pattern="${basedir}/release/solr4/start.jar" /> <!-- for embedded Solr 4 -->
|
||||||
|
<ivy:retrieve conf="jetty-libs" pattern="${basedir}/release/solr4/lib/[artifact]-[revision](-[classifier]).[ext]" /> <!-- for embedded Solr 4 -->
|
||||||
|
<ivy:retrieve conf="slf4j-libs" pattern="${basedir}/release/solr4/lib/ext/[artifact]-[revision](-[classifier]).[ext]" /> <!-- for embedded Solr 4 -->
|
||||||
|
<ivy:retrieve conf="servlet" pattern="${basedir}/release/solr4/lib/servlet-api-3.0.jar" /> <!-- for embedded Solr 4 -->
|
||||||
<ivy:retrieve conf="jetty-libs" pattern="${basedir}/release/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
<ivy:retrieve conf="jetty-libs" pattern="${basedir}/release/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
||||||
<ivy:retrieve conf="solr-libs" pattern="${basedir}/release/solr/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
<ivy:retrieve conf="solr-libs" pattern="${basedir}/release/solr/solr/lib/[artifact]-[revision](-[classifier]).[ext]" />
|
||||||
<ivy:retrieve conf="slf4j-libs" pattern="${basedir}/release/solr/lib/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
<ivy:retrieve conf="slf4j-libs" pattern="${basedir}/release/solr/lib/ext/[artifact]-[revision](-[classifier]).[ext]" />
|
||||||
|
8
KeywordSearch/solr4/contexts/solr-jetty-context.xml
Executable file
8
KeywordSearch/solr4/contexts/solr-jetty-context.xml
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
||||||
|
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
|
||||||
|
<Set name="contextPath"><SystemProperty name="hostContext" default="/solr"/></Set>
|
||||||
|
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/solr.war</Set>
|
||||||
|
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"/>/etc/webdefault.xml</Set>
|
||||||
|
|
||||||
|
</Configure>
|
204
KeywordSearch/solr4/etc/jetty.xml
Executable file
204
KeywordSearch/solr4/etc/jetty.xml
Executable file
@ -0,0 +1,204 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
||||||
|
|
||||||
|
<!-- =============================================================== -->
|
||||||
|
<!-- Configure the Jetty Server -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- Documentation of this file format can be found at: -->
|
||||||
|
<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- =============================================================== -->
|
||||||
|
|
||||||
|
|
||||||
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||||
|
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!-- Server Thread Pool -->
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<Set name="ThreadPool">
|
||||||
|
<!-- Default queued blocking threadpool -->
|
||||||
|
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
|
||||||
|
<Set name="minThreads">10</Set>
|
||||||
|
<Set name="maxThreads">10000</Set>
|
||||||
|
<Set name="detailedDump">false</Set>
|
||||||
|
</New>
|
||||||
|
</Set>
|
||||||
|
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!-- Set connectors -->
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<Call name="addConnector">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
||||||
|
<Set name="host"><SystemProperty name="jetty.host" /></Set>
|
||||||
|
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
|
||||||
|
<Set name="maxIdleTime">50000</Set>
|
||||||
|
<Set name="Acceptors">2</Set>
|
||||||
|
<Set name="statsOn">false</Set>
|
||||||
|
<Set name="confidentialPort">8443</Set>
|
||||||
|
<Set name="lowResourcesConnections">5000</Set>
|
||||||
|
<Set name="lowResourcesMaxIdleTime">5000</Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This connector is currently being used for Solr because it
|
||||||
|
showed better performance than nio.SelectChannelConnector
|
||||||
|
for typical Solr requests. -->
|
||||||
|
<Call name="addConnector">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.server.bio.SocketConnector">
|
||||||
|
<Set name="host"><SystemProperty name="jetty.host" default="localhost"/></Set>
|
||||||
|
<Set name="port"><SystemProperty name="jetty.port" default="23232"/></Set>
|
||||||
|
<Set name="maxIdleTime">50000</Set>
|
||||||
|
<Set name="lowResourceMaxIdleTime">1500</Set>
|
||||||
|
<Set name="statsOn">false</Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
|
||||||
|
<!-- if the connector below is uncommented, then jetty will also accept SSL
|
||||||
|
connections on port 8984, using a self signed certificate and can
|
||||||
|
optionally require the client to authenticate with a certificate.
|
||||||
|
(which can be the same as the server certificate_
|
||||||
|
|
||||||
|
# Run solr example with SSL on port 8984
|
||||||
|
java -jar start.jar
|
||||||
|
#
|
||||||
|
# Run post.jar so that it trusts the server cert...
|
||||||
|
java -Djavax.net.ssl.trustStore=../etc/solrtest.keystore -Durl=https://localhost:8984/solr/update -jar post.jar *.xml
|
||||||
|
|
||||||
|
# Run solr example with SSL requiring client certs on port 8984
|
||||||
|
java -Djetty.ssl.clientAuth=true -jar start.jar
|
||||||
|
#
|
||||||
|
# Run post.jar so that it trusts the server cert,
|
||||||
|
# and authenticates with a client cert
|
||||||
|
java -Djavax.net.ssl.keyStorePassword=secret -Djavax.net.ssl.keyStore=../etc/solrtest.keystore -Djavax.net.ssl.trustStore=../etc/solrtest.keystore -Durl=https://localhost:8984/solr/update -jar post.jar *.xml
|
||||||
|
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<Call name="addConnector">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.http.ssl.SslContextFactory">
|
||||||
|
<Set name="keyStore"><SystemProperty name="jetty.home" default="."/>/etc/solrtest.keystore</Set>
|
||||||
|
<Set name="keyStorePassword">secret</Set>
|
||||||
|
<Set name="needClientAuth"><SystemProperty name="jetty.ssl.clientAuth" default="false"/></Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
<Set name="port"><SystemProperty name="jetty.ssl.port" default="8984"/></Set>
|
||||||
|
<Set name="maxIdleTime">30000</Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!-- Set handler Collection Structure -->
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<Set name="handler">
|
||||||
|
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
||||||
|
<Set name="handlers">
|
||||||
|
<Array type="org.eclipse.jetty.server.Handler">
|
||||||
|
<Item>
|
||||||
|
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
|
||||||
|
</Item>
|
||||||
|
<Item>
|
||||||
|
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
|
||||||
|
</Item>
|
||||||
|
<Item>
|
||||||
|
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
|
||||||
|
</Item>
|
||||||
|
</Array>
|
||||||
|
</Set>
|
||||||
|
</New>
|
||||||
|
</Set>
|
||||||
|
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!-- Configure Request Log -->
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!--
|
||||||
|
<Ref id="Handlers">
|
||||||
|
<Call name="addHandler">
|
||||||
|
<Arg>
|
||||||
|
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
|
||||||
|
<Set name="requestLog">
|
||||||
|
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
|
||||||
|
<Set name="filename">
|
||||||
|
logs/request.yyyy_mm_dd.log
|
||||||
|
</Set>
|
||||||
|
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
||||||
|
<Set name="retainDays">90</Set>
|
||||||
|
<Set name="append">true</Set>
|
||||||
|
<Set name="extended">false</Set>
|
||||||
|
<Set name="logCookies">false</Set>
|
||||||
|
<Set name="LogTimeZone">UTC</Set>
|
||||||
|
</New>
|
||||||
|
</Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
</Ref>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<!-- extra options -->
|
||||||
|
<!-- =========================================================== -->
|
||||||
|
<Set name="stopAtShutdown">true</Set>
|
||||||
|
<Set name="sendServerVersion">false</Set>
|
||||||
|
<Set name="sendDateHeader">false</Set>
|
||||||
|
<Set name="gracefulShutdown">1000</Set>
|
||||||
|
<Set name="dumpAfterStart">false</Set>
|
||||||
|
<Set name="dumpBeforeStop">false</Set>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Call name="addBean">
|
||||||
|
<Arg>
|
||||||
|
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
||||||
|
<Set name="contexts">
|
||||||
|
<Ref id="Contexts" />
|
||||||
|
</Set>
|
||||||
|
<Call name="setContextAttribute">
|
||||||
|
<Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
|
||||||
|
<Arg>.*/servlet-api-[^/]*\.jar$</Arg>
|
||||||
|
</Call>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Add a customize step to the deployment lifecycle -->
|
||||||
|
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
||||||
|
<Call name="insertLifeCycleNode">
|
||||||
|
<Arg>deployed</Arg>
|
||||||
|
<Arg>starting</Arg>
|
||||||
|
<Arg>customise</Arg>
|
||||||
|
</Call>
|
||||||
|
<Call name="addLifeCycleBinding">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
||||||
|
<Arg>customise</Arg>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
|
||||||
|
<Ref id="DeploymentManager">
|
||||||
|
<Call name="addAppProvider">
|
||||||
|
<Arg>
|
||||||
|
<New class="org.eclipse.jetty.deploy.providers.ContextProvider">
|
||||||
|
<Set name="monitoredDirName"><SystemProperty name="jetty.home" default="."/>/contexts</Set>
|
||||||
|
<Set name="scanInterval">0</Set>
|
||||||
|
</New>
|
||||||
|
</Arg>
|
||||||
|
</Call>
|
||||||
|
</Ref>
|
||||||
|
|
||||||
|
</Configure>
|
527
KeywordSearch/solr4/etc/webdefault.xml
Executable file
527
KeywordSearch/solr4/etc/webdefault.xml
Executable file
@ -0,0 +1,527 @@
|
|||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
|
||||||
|
<!-- ===================================================================== -->
|
||||||
|
<!-- This file contains the default descriptor for web applications. -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!-- The intent of this descriptor is to include jetty specific or common -->
|
||||||
|
<!-- configuration for all webapps. If a context has a webdefault.xml -->
|
||||||
|
<!-- descriptor, it is applied before the contexts own web.xml file -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- A context may be assigned a default descriptor by: -->
|
||||||
|
<!-- + Calling WebApplicationContext.setDefaultsDescriptor -->
|
||||||
|
<!-- + Passed an arg to addWebApplications -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- This file is used both as the resource within the jetty.jar (which is -->
|
||||||
|
<!-- used as the default if no explicit defaults descriptor is set) and it -->
|
||||||
|
<!-- is copied to the etc directory of the Jetty distro and explicitly -->
|
||||||
|
<!-- by the jetty.xml file. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- ===================================================================== -->
|
||||||
|
<web-app
|
||||||
|
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||||||
|
metadata-complete="true"
|
||||||
|
version="2.5"
|
||||||
|
>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
Default web.xml file.
|
||||||
|
This file is applied to a Web application before it's own WEB_INF/web.xml file
|
||||||
|
</description>
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- Removes static references to beans from javax.el.BeanELResolver to -->
|
||||||
|
<!-- ensure webapp classloader can be released on undeploy -->
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<listener>
|
||||||
|
<listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- Removes static cache of Methods from java.beans.Introspector to -->
|
||||||
|
<!-- ensure webapp classloader can be released on undeploy -->
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<listener>
|
||||||
|
<listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class>
|
||||||
|
</listener>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- Context params to control Session Cookies -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!--
|
||||||
|
UNCOMMENT TO ACTIVATE <context-param> <param-name>org.eclipse.jetty.servlet.SessionDomain</param-name> <param-value>127.0.0.1</param-value> </context-param> <context-param>
|
||||||
|
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name> <param-value>/</param-value> </context-param> <context-param> <param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
|
||||||
|
<param-value>-1</param-value> </context-param>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- The default servlet. -->
|
||||||
|
<!-- This servlet, normally mapped to /, provides the handling for static -->
|
||||||
|
<!-- content, OPTIONS and TRACE methods for the context. -->
|
||||||
|
<!-- The following initParameters are supported: -->
|
||||||
|
<!--
|
||||||
|
* acceptRanges If true, range requests and responses are
|
||||||
|
* supported
|
||||||
|
*
|
||||||
|
* dirAllowed If true, directory listings are returned if no
|
||||||
|
* welcome file is found. Else 403 Forbidden.
|
||||||
|
*
|
||||||
|
* welcomeServlets If true, attempt to dispatch to welcome files
|
||||||
|
* that are servlets, but only after no matching static
|
||||||
|
* resources could be found. If false, then a welcome
|
||||||
|
* file must exist on disk. If "exact", then exact
|
||||||
|
* servlet matches are supported without an existing file.
|
||||||
|
* Default is true.
|
||||||
|
*
|
||||||
|
* This must be false if you want directory listings,
|
||||||
|
* but have index.jsp in your welcome file list.
|
||||||
|
*
|
||||||
|
* redirectWelcome If true, welcome files are redirected rather than
|
||||||
|
* forwarded to.
|
||||||
|
*
|
||||||
|
* gzip If set to true, then static content will be served as
|
||||||
|
* gzip content encoded if a matching resource is
|
||||||
|
* found ending with ".gz"
|
||||||
|
*
|
||||||
|
* resourceBase Set to replace the context resource base
|
||||||
|
*
|
||||||
|
* resourceCache If set, this is a context attribute name, which the servlet
|
||||||
|
* will use to look for a shared ResourceCache instance.
|
||||||
|
*
|
||||||
|
* relativeResourceBase
|
||||||
|
* Set with a pathname relative to the base of the
|
||||||
|
* servlet context root. Useful for only serving static content out
|
||||||
|
* of only specific subdirectories.
|
||||||
|
*
|
||||||
|
* aliases If True, aliases of resources are allowed (eg. symbolic
|
||||||
|
* links and caps variations). May bypass security constraints.
|
||||||
|
*
|
||||||
|
* maxCacheSize The maximum total size of the cache or 0 for no cache.
|
||||||
|
* maxCachedFileSize The maximum size of a file to cache
|
||||||
|
* maxCachedFiles The maximum number of files to cache
|
||||||
|
*
|
||||||
|
* useFileMappedBuffer
|
||||||
|
* If set to true, it will use mapped file buffer to serve static content
|
||||||
|
* when using NIO connector. Setting this value to false means that
|
||||||
|
* a direct buffer will be used instead of a mapped file buffer.
|
||||||
|
* By default, this is set to true.
|
||||||
|
*
|
||||||
|
* cacheControl If set, all static content will have this value set as the cache-control
|
||||||
|
* header.
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<servlet>
|
||||||
|
<servlet-name>default</servlet-name>
|
||||||
|
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>aliases</param-name>
|
||||||
|
<param-value>false</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>acceptRanges</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>dirAllowed</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>welcomeServlets</param-name>
|
||||||
|
<param-value>false</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>redirectWelcome</param-name>
|
||||||
|
<param-value>false</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>maxCacheSize</param-name>
|
||||||
|
<param-value>256000000</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>maxCachedFileSize</param-name>
|
||||||
|
<param-value>200000000</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>maxCachedFiles</param-name>
|
||||||
|
<param-value>2048</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>gzip</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>useFileMappedBuffer</param-name>
|
||||||
|
<param-value>true</param-value>
|
||||||
|
</init-param>
|
||||||
|
<!--
|
||||||
|
<init-param>
|
||||||
|
<param-name>resourceCache</param-name>
|
||||||
|
<param-value>resourceCache</param-value>
|
||||||
|
</init-param>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<init-param>
|
||||||
|
<param-name>cacheControl</param-name>
|
||||||
|
<param-value>max-age=3600,public</param-value>
|
||||||
|
</init-param>
|
||||||
|
-->
|
||||||
|
<load-on-startup>0</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>default</servlet-name>
|
||||||
|
<url-pattern>/</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- JSP Servlet -->
|
||||||
|
<!-- This is the jasper JSP servlet from the jakarta project -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
|
||||||
|
<!-- used by Glassfish to support JSP pages. Traditionally, this servlet -->
|
||||||
|
<!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
|
||||||
|
<!-- following initialization parameters (default values are in square -->
|
||||||
|
<!-- brackets): -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- checkInterval If development is false and reloading is true, -->
|
||||||
|
<!-- background compiles are enabled. checkInterval -->
|
||||||
|
<!-- is the time in seconds between checks to see -->
|
||||||
|
<!-- if a JSP page needs to be recompiled. [300] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- compiler Which compiler Ant should use to compile JSP -->
|
||||||
|
<!-- pages. See the Ant documenation for more -->
|
||||||
|
<!-- information. [javac] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- classdebuginfo Should the class file be compiled with -->
|
||||||
|
<!-- debugging information? [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- classpath What class path should I use while compiling -->
|
||||||
|
<!-- generated servlets? [Created dynamically -->
|
||||||
|
<!-- based on the current web application] -->
|
||||||
|
<!-- Set to ? to make the container explicitly set -->
|
||||||
|
<!-- this parameter. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- development Is Jasper used in development mode (will check -->
|
||||||
|
<!-- for JSP modification on every access)? [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- enablePooling Determines whether tag handler pooling is -->
|
||||||
|
<!-- enabled [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
|
||||||
|
<!-- a separate JVM is used for JSP page compiles -->
|
||||||
|
<!-- from the one Tomcat is running in. [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- ieClassId The class-id value to be sent to Internet -->
|
||||||
|
<!-- Explorer when using <jsp:plugin> tags. -->
|
||||||
|
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- javaEncoding Java file encoding to use for generating java -->
|
||||||
|
<!-- source files. [UTF-8] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- keepgenerated Should we keep the generated Java source code -->
|
||||||
|
<!-- for each page instead of deleting it? [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- logVerbosityLevel The level of detailed messages to be produced -->
|
||||||
|
<!-- by this servlet. Increasing levels cause the -->
|
||||||
|
<!-- generation of more messages. Valid values are -->
|
||||||
|
<!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
|
||||||
|
<!-- [WARNING] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- mappedfile Should we generate static content with one -->
|
||||||
|
<!-- print statement per input line, to ease -->
|
||||||
|
<!-- debugging? [false] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- reloading Should Jasper check for modified JSPs? [true] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
|
||||||
|
<!-- debugging be suppressed? [false] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
|
||||||
|
<!-- dumped to a file? [false] -->
|
||||||
|
<!-- False if suppressSmap is true -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- scratchdir What scratch directory should we use when -->
|
||||||
|
<!-- compiling JSP pages? [default work directory -->
|
||||||
|
<!-- for the current web application] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- xpoweredBy Determines whether X-Powered-By response -->
|
||||||
|
<!-- header is added by generated servlet [false] -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- If you wish to use Jikes to compile JSP pages: -->
|
||||||
|
<!-- Set the init parameter "compiler" to "jikes". Define -->
|
||||||
|
<!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->
|
||||||
|
<!-- to cause Jikes to emit error messages in a format compatible with -->
|
||||||
|
<!-- Jasper. -->
|
||||||
|
<!-- If you get an error reporting that jikes can't use UTF-8 encoding, -->
|
||||||
|
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<servlet
|
||||||
|
id="jsp"
|
||||||
|
>
|
||||||
|
<servlet-name>jsp</servlet-name>
|
||||||
|
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
|
||||||
|
<init-param>
|
||||||
|
<param-name>logVerbosityLevel</param-name>
|
||||||
|
<param-value>DEBUG</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>fork</param-name>
|
||||||
|
<param-value>false</param-value>
|
||||||
|
</init-param>
|
||||||
|
<init-param>
|
||||||
|
<param-name>xpoweredBy</param-name>
|
||||||
|
<param-value>false</param-value>
|
||||||
|
</init-param>
|
||||||
|
<!--
|
||||||
|
<init-param>
|
||||||
|
<param-name>classpath</param-name>
|
||||||
|
<param-value>?</param-value>
|
||||||
|
</init-param>
|
||||||
|
-->
|
||||||
|
<load-on-startup>0</load-on-startup>
|
||||||
|
</servlet>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>jsp</servlet-name>
|
||||||
|
<url-pattern>*.jsp</url-pattern>
|
||||||
|
<url-pattern>*.jspf</url-pattern>
|
||||||
|
<url-pattern>*.jspx</url-pattern>
|
||||||
|
<url-pattern>*.xsp</url-pattern>
|
||||||
|
<url-pattern>*.JSP</url-pattern>
|
||||||
|
<url-pattern>*.JSPF</url-pattern>
|
||||||
|
<url-pattern>*.JSPX</url-pattern>
|
||||||
|
<url-pattern>*.XSP</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- Dynamic Servlet Invoker. -->
|
||||||
|
<!-- This servlet invokes anonymous servlets that have not been defined -->
|
||||||
|
<!-- in the web.xml or by other means. The first element of the pathInfo -->
|
||||||
|
<!-- of a request passed to the envoker is treated as a servlet name for -->
|
||||||
|
<!-- an existing servlet, or as a class name of a new servlet. -->
|
||||||
|
<!-- This servlet is normally mapped to /servlet/* -->
|
||||||
|
<!-- This servlet support the following initParams: -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- nonContextServlets If false, the invoker can only load -->
|
||||||
|
<!-- servlets from the contexts classloader. -->
|
||||||
|
<!-- This is false by default and setting this -->
|
||||||
|
<!-- to true may have security implications. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- verbose If true, log dynamic loads -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- * All other parameters are copied to the -->
|
||||||
|
<!-- each dynamic servlet as init parameters -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!--
|
||||||
|
Uncomment for dynamic invocation <servlet> <servlet-name>invoker</servlet-name> <servlet-class>org.eclipse.jetty.servlet.Invoker</servlet-class> <init-param> <param-name>verbose</param-name>
|
||||||
|
<param-value>false</param-value> </init-param> <init-param> <param-name>nonContextServlets</param-name> <param-value>false</param-value> </init-param> <init-param>
|
||||||
|
<param-name>dynamicParam</param-name> <param-value>anyValue</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>invoker</servlet-name>
|
||||||
|
<url-pattern>/servlet/*</url-pattern> </servlet-mapping>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<session-config>
|
||||||
|
<session-timeout>30</session-timeout>
|
||||||
|
</session-config>
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<!-- Default MIME mappings -->
|
||||||
|
<!-- The default MIME mappings are provided by the mime.properties -->
|
||||||
|
<!-- resource in the org.eclipse.jetty.server.jar file. Additional or modified -->
|
||||||
|
<!-- mappings may be specified here -->
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
<!-- UNCOMMENT TO ACTIVATE
|
||||||
|
<mime-mapping>
|
||||||
|
<extension>mysuffix</extension>
|
||||||
|
<mime-type>mymime/type</mime-type>
|
||||||
|
</mime-mapping>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<welcome-file-list>
|
||||||
|
<welcome-file>index.html</welcome-file>
|
||||||
|
<welcome-file>index.htm</welcome-file>
|
||||||
|
<welcome-file>index.jsp</welcome-file>
|
||||||
|
</welcome-file-list>
|
||||||
|
|
||||||
|
<!-- ==================================================================== -->
|
||||||
|
<locale-encoding-mapping-list>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ar</locale>
|
||||||
|
<encoding>ISO-8859-6</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>be</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>bg</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ca</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>cs</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>da</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>de</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>el</locale>
|
||||||
|
<encoding>ISO-8859-7</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>en</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>es</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>et</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>fi</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>fr</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>hr</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>hu</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>is</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>it</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>iw</locale>
|
||||||
|
<encoding>ISO-8859-8</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ja</locale>
|
||||||
|
<encoding>Shift_JIS</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ko</locale>
|
||||||
|
<encoding>EUC-KR</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>lt</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>lv</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>mk</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>nl</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>no</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>pl</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>pt</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ro</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>ru</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sh</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sk</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sl</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sq</locale>
|
||||||
|
<encoding>ISO-8859-2</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sr</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>sv</locale>
|
||||||
|
<encoding>ISO-8859-1</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>tr</locale>
|
||||||
|
<encoding>ISO-8859-9</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>uk</locale>
|
||||||
|
<encoding>ISO-8859-5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>zh</locale>
|
||||||
|
<encoding>GB2312</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
<locale-encoding-mapping>
|
||||||
|
<locale>zh_TW</locale>
|
||||||
|
<encoding>Big5</encoding>
|
||||||
|
</locale-encoding-mapping>
|
||||||
|
</locale-encoding-mapping-list>
|
||||||
|
|
||||||
|
<security-constraint>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>Disable TRACE</web-resource-name>
|
||||||
|
<url-pattern>/</url-pattern>
|
||||||
|
<http-method>TRACE</http-method>
|
||||||
|
</web-resource-collection>
|
||||||
|
<auth-constraint/>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
|
</web-app>
|
||||||
|
|
11
KeywordSearch/solr4/resources/log4j.properties
Executable file
11
KeywordSearch/solr4/resources/log4j.properties
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
# Logging level
|
||||||
|
solr.log=logs/
|
||||||
|
log4j.rootLogger=WARN, CONSOLE
|
||||||
|
|
||||||
|
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
||||||
|
|
||||||
|
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
||||||
|
log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x \u2013 %m%n
|
||||||
|
|
||||||
|
# set to INFO to enable infostream log messages
|
||||||
|
log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF
|
31
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/admin-extra.html
Executable file
31
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/admin-extra.html
Executable file
@ -0,0 +1,31 @@
|
|||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
(the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The content of this page will be statically included into the top
|
||||||
|
of the admin page. Uncomment this as an example to see there the content
|
||||||
|
will show up.
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
<i>This line will appear before the first table</i>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
This row will be appended to the end of the first table
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
-->
|
36
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/elevate.xml
Executable file
36
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/elevate.xml
Executable file
@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
(the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- If this file is found in the config directory, it will only be
|
||||||
|
loaded once at startup. If it is found in Solr's data
|
||||||
|
directory, it will be re-loaded every commit.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<elevate>
|
||||||
|
<query text="foo bar">
|
||||||
|
<doc id="1" />
|
||||||
|
<doc id="2" />
|
||||||
|
<doc id="3" />
|
||||||
|
</query>
|
||||||
|
|
||||||
|
<query text="ipod">
|
||||||
|
<doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
|
||||||
|
<doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
|
||||||
|
</query>
|
||||||
|
|
||||||
|
</elevate>
|
420
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/lang/stoptags_ja.txt
Executable file
420
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/lang/stoptags_ja.txt
Executable file
@ -0,0 +1,420 @@
|
|||||||
|
#
|
||||||
|
# This file defines a Japanese stoptag set for JapanesePartOfSpeechStopFilter.
|
||||||
|
#
|
||||||
|
# Any token with a part-of-speech tag that exactly matches those defined in this
|
||||||
|
# file are removed from the token stream.
|
||||||
|
#
|
||||||
|
# Set your own stoptags by uncommenting the lines below. Note that comments are
|
||||||
|
# not allowed on the same line as a stoptag. See LUCENE-3745 for frequency lists,
|
||||||
|
# etc. that can be useful for building you own stoptag set.
|
||||||
|
#
|
||||||
|
# The entire possible tagset is provided below for convenience.
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# noun: unclassified nouns
|
||||||
|
#名詞
|
||||||
|
#
|
||||||
|
# noun-common: Common nouns or nouns where the sub-classification is undefined
|
||||||
|
#名詞-一般
|
||||||
|
#
|
||||||
|
# noun-proper: Proper nouns where the sub-classification is undefined
|
||||||
|
#名詞-固有名詞
|
||||||
|
#
|
||||||
|
# noun-proper-misc: miscellaneous proper nouns
|
||||||
|
#名詞-固有名詞-一般
|
||||||
|
#
|
||||||
|
# noun-proper-person: Personal names where the sub-classification is undefined
|
||||||
|
#名詞-固有名詞-人名
|
||||||
|
#
|
||||||
|
# noun-proper-person-misc: names that cannot be divided into surname and
|
||||||
|
# given name; foreign names; names where the surname or given name is unknown.
|
||||||
|
# e.g. お市の方
|
||||||
|
#名詞-固有名詞-人名-一般
|
||||||
|
#
|
||||||
|
# noun-proper-person-surname: Mainly Japanese surnames.
|
||||||
|
# e.g. 山田
|
||||||
|
#名詞-固有名詞-人名-姓
|
||||||
|
#
|
||||||
|
# noun-proper-person-given_name: Mainly Japanese given names.
|
||||||
|
# e.g. 太郎
|
||||||
|
#名詞-固有名詞-人名-名
|
||||||
|
#
|
||||||
|
# noun-proper-organization: Names representing organizations.
|
||||||
|
# e.g. 通産省, NHK
|
||||||
|
#名詞-固有名詞-組織
|
||||||
|
#
|
||||||
|
# noun-proper-place: Place names where the sub-classification is undefined
|
||||||
|
#名詞-固有名詞-地域
|
||||||
|
#
|
||||||
|
# noun-proper-place-misc: Place names excluding countries.
|
||||||
|
# e.g. アジア, バルセロナ, 京都
|
||||||
|
#名詞-固有名詞-地域-一般
|
||||||
|
#
|
||||||
|
# noun-proper-place-country: Country names.
|
||||||
|
# e.g. 日本, オーストラリア
|
||||||
|
#名詞-固有名詞-地域-国
|
||||||
|
#
|
||||||
|
# noun-pronoun: Pronouns where the sub-classification is undefined
|
||||||
|
#名詞-代名詞
|
||||||
|
#
|
||||||
|
# noun-pronoun-misc: miscellaneous pronouns:
|
||||||
|
# e.g. それ, ここ, あいつ, あなた, あちこち, いくつ, どこか, なに, みなさん, みんな, わたくし, われわれ
|
||||||
|
#名詞-代名詞-一般
|
||||||
|
#
|
||||||
|
# noun-pronoun-contraction: Spoken language contraction made by combining a
|
||||||
|
# pronoun and the particle 'wa'.
|
||||||
|
# e.g. ありゃ, こりゃ, こりゃあ, そりゃ, そりゃあ
|
||||||
|
#名詞-代名詞-縮約
|
||||||
|
#
|
||||||
|
# noun-adverbial: Temporal nouns such as names of days or months that behave
|
||||||
|
# like adverbs. Nouns that represent amount or ratios and can be used adverbially,
|
||||||
|
# e.g. 金曜, 一月, 午後, 少量
|
||||||
|
#名詞-副詞可能
|
||||||
|
#
|
||||||
|
# noun-verbal: Nouns that take arguments with case and can appear followed by
|
||||||
|
# 'suru' and related verbs (する, できる, なさる, くださる)
|
||||||
|
# e.g. インプット, 愛着, 悪化, 悪戦苦闘, 一安心, 下取り
|
||||||
|
#名詞-サ変接続
|
||||||
|
#
|
||||||
|
# noun-adjective-base: The base form of adjectives, words that appear before な ("na")
|
||||||
|
# e.g. 健康, 安易, 駄目, だめ
|
||||||
|
#名詞-形容動詞語幹
|
||||||
|
#
|
||||||
|
# noun-numeric: Arabic numbers, Chinese numerals, and counters like 何 (回), 数.
|
||||||
|
# e.g. 0, 1, 2, 何, 数, 幾
|
||||||
|
#名詞-数
|
||||||
|
#
|
||||||
|
# noun-affix: noun affixes where the sub-classification is undefined
|
||||||
|
#名詞-非自立
|
||||||
|
#
|
||||||
|
# noun-affix-misc: Of adnominalizers, the case-marker の ("no"), and words that
|
||||||
|
# attach to the base form of inflectional words, words that cannot be classified
|
||||||
|
# into any of the other categories below. This category includes indefinite nouns.
|
||||||
|
# e.g. あかつき, 暁, かい, 甲斐, 気, きらい, 嫌い, くせ, 癖, こと, 事, ごと, 毎, しだい, 次第,
|
||||||
|
# 順, せい, 所為, ついで, 序で, つもり, 積もり, 点, どころ, の, はず, 筈, はずみ, 弾み,
|
||||||
|
# 拍子, ふう, ふり, 振り, ほう, 方, 旨, もの, 物, 者, ゆえ, 故, ゆえん, 所以, わけ, 訳,
|
||||||
|
# わり, 割り, 割, ん-口語/, もん-口語/
|
||||||
|
#名詞-非自立-一般
|
||||||
|
#
|
||||||
|
# noun-affix-adverbial: noun affixes that that can behave as adverbs.
|
||||||
|
# e.g. あいだ, 間, あげく, 挙げ句, あと, 後, 余り, 以外, 以降, 以後, 以上, 以前, 一方, うえ,
|
||||||
|
# 上, うち, 内, おり, 折り, かぎり, 限り, きり, っきり, 結果, ころ, 頃, さい, 際, 最中, さなか,
|
||||||
|
# 最中, じたい, 自体, たび, 度, ため, 為, つど, 都度, とおり, 通り, とき, 時, ところ, 所,
|
||||||
|
# とたん, 途端, なか, 中, のち, 後, ばあい, 場合, 日, ぶん, 分, ほか, 他, まえ, 前, まま,
|
||||||
|
# 儘, 侭, みぎり, 矢先
|
||||||
|
#名詞-非自立-副詞可能
|
||||||
|
#
|
||||||
|
# noun-affix-aux: noun affixes treated as 助動詞 ("auxiliary verb") in school grammars
|
||||||
|
# with the stem よう(だ) ("you(da)").
|
||||||
|
# e.g. よう, やう, 様 (よう)
|
||||||
|
#名詞-非自立-助動詞語幹
|
||||||
|
#
|
||||||
|
# noun-affix-adjective-base: noun affixes that can connect to the indeclinable
|
||||||
|
# connection form な (aux "da").
|
||||||
|
# e.g. みたい, ふう
|
||||||
|
#名詞-非自立-形容動詞語幹
|
||||||
|
#
|
||||||
|
# noun-special: special nouns where the sub-classification is undefined.
|
||||||
|
#名詞-特殊
|
||||||
|
#
|
||||||
|
# noun-special-aux: The そうだ ("souda") stem form that is used for reporting news, is
|
||||||
|
# treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the base
|
||||||
|
# form of inflectional words.
|
||||||
|
# e.g. そう
|
||||||
|
#名詞-特殊-助動詞語幹
|
||||||
|
#
|
||||||
|
# noun-suffix: noun suffixes where the sub-classification is undefined.
|
||||||
|
#名詞-接尾
|
||||||
|
#
|
||||||
|
# noun-suffix-misc: Of the nouns or stem forms of other parts of speech that connect
|
||||||
|
# to ガル or タイ and can combine into compound nouns, words that cannot be classified into
|
||||||
|
# any of the other categories below. In general, this category is more inclusive than
|
||||||
|
# 接尾語 ("suffix") and is usually the last element in a compound noun.
|
||||||
|
# e.g. おき, かた, 方, 甲斐 (がい), がかり, ぎみ, 気味, ぐるみ, (~した) さ, 次第, 済 (ず) み,
|
||||||
|
# よう, (でき)っこ, 感, 観, 性, 学, 類, 面, 用
|
||||||
|
#名詞-接尾-一般
|
||||||
|
#
|
||||||
|
# noun-suffix-person: Suffixes that form nouns and attach to person names more often
|
||||||
|
# than other nouns.
|
||||||
|
# e.g. 君, 様, 著
|
||||||
|
#名詞-接尾-人名
|
||||||
|
#
|
||||||
|
# noun-suffix-place: Suffixes that form nouns and attach to place names more often
|
||||||
|
# than other nouns.
|
||||||
|
# e.g. 町, 市, 県
|
||||||
|
#名詞-接尾-地域
|
||||||
|
#
|
||||||
|
# noun-suffix-verbal: Of the suffixes that attach to nouns and form nouns, those that
|
||||||
|
# can appear before スル ("suru").
|
||||||
|
# e.g. 化, 視, 分け, 入り, 落ち, 買い
|
||||||
|
#名詞-接尾-サ変接続
|
||||||
|
#
|
||||||
|
# noun-suffix-aux: The stem form of そうだ (様態) that is used to indicate conditions,
|
||||||
|
# is treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the
|
||||||
|
# conjunctive form of inflectional words.
|
||||||
|
# e.g. そう
|
||||||
|
#名詞-接尾-助動詞語幹
|
||||||
|
#
|
||||||
|
# noun-suffix-adjective-base: Suffixes that attach to other nouns or the conjunctive
|
||||||
|
# form of inflectional words and appear before the copula だ ("da").
|
||||||
|
# e.g. 的, げ, がち
|
||||||
|
#名詞-接尾-形容動詞語幹
|
||||||
|
#
|
||||||
|
# noun-suffix-adverbial: Suffixes that attach to other nouns and can behave as adverbs.
|
||||||
|
# e.g. 後 (ご), 以後, 以降, 以前, 前後, 中, 末, 上, 時 (じ)
|
||||||
|
#名詞-接尾-副詞可能
|
||||||
|
#
|
||||||
|
# noun-suffix-classifier: Suffixes that attach to numbers and form nouns. This category
|
||||||
|
# is more inclusive than 助数詞 ("classifier") and includes common nouns that attach
|
||||||
|
# to numbers.
|
||||||
|
# e.g. 個, つ, 本, 冊, パーセント, cm, kg, カ月, か国, 区画, 時間, 時半
|
||||||
|
#名詞-接尾-助数詞
|
||||||
|
#
|
||||||
|
# noun-suffix-special: Special suffixes that mainly attach to inflecting words.
|
||||||
|
# e.g. (楽し) さ, (考え) 方
|
||||||
|
#名詞-接尾-特殊
|
||||||
|
#
|
||||||
|
# noun-suffix-conjunctive: Nouns that behave like conjunctions and join two words
|
||||||
|
# together.
|
||||||
|
# e.g. (日本) 対 (アメリカ), 対 (アメリカ), (3) 対 (5), (女優) 兼 (主婦)
|
||||||
|
#名詞-接続詞的
|
||||||
|
#
|
||||||
|
# noun-verbal_aux: Nouns that attach to the conjunctive particle て ("te") and are
|
||||||
|
# semantically verb-like.
|
||||||
|
# e.g. ごらん, ご覧, 御覧, 頂戴
|
||||||
|
#名詞-動詞非自立的
|
||||||
|
#
|
||||||
|
# noun-quotation: text that cannot be segmented into words, proverbs, Chinese poetry,
|
||||||
|
# dialects, English, etc. Currently, the only entry for 名詞 引用文字列 ("noun quotation")
|
||||||
|
# is いわく ("iwaku").
|
||||||
|
#名詞-引用文字列
|
||||||
|
#
|
||||||
|
# noun-nai_adjective: Words that appear before the auxiliary verb ない ("nai") and
|
||||||
|
# behave like an adjective.
|
||||||
|
# e.g. 申し訳, 仕方, とんでも, 違い
|
||||||
|
#名詞-ナイ形容詞語幹
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# prefix: unclassified prefixes
|
||||||
|
#接頭詞
|
||||||
|
#
|
||||||
|
# prefix-nominal: Prefixes that attach to nouns (including adjective stem forms)
|
||||||
|
# excluding numerical expressions.
|
||||||
|
# e.g. お (水), 某 (氏), 同 (社), 故 (~氏), 高 (品質), お (見事), ご (立派)
|
||||||
|
#接頭詞-名詞接続
|
||||||
|
#
|
||||||
|
# prefix-verbal: Prefixes that attach to the imperative form of a verb or a verb
|
||||||
|
# in conjunctive form followed by なる/なさる/くださる.
|
||||||
|
# e.g. お (読みなさい), お (座り)
|
||||||
|
#接頭詞-動詞接続
|
||||||
|
#
|
||||||
|
# prefix-adjectival: Prefixes that attach to adjectives.
|
||||||
|
# e.g. お (寒いですねえ), バカ (でかい)
|
||||||
|
#接頭詞-形容詞接続
|
||||||
|
#
|
||||||
|
# prefix-numerical: Prefixes that attach to numerical expressions.
|
||||||
|
# e.g. 約, およそ, 毎時
|
||||||
|
#接頭詞-数接続
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# verb: unclassified verbs
|
||||||
|
#動詞
|
||||||
|
#
|
||||||
|
# verb-main:
|
||||||
|
#動詞-自立
|
||||||
|
#
|
||||||
|
# verb-auxiliary:
|
||||||
|
#動詞-非自立
|
||||||
|
#
|
||||||
|
# verb-suffix:
|
||||||
|
#動詞-接尾
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# adjective: unclassified adjectives
|
||||||
|
#形容詞
|
||||||
|
#
|
||||||
|
# adjective-main:
|
||||||
|
#形容詞-自立
|
||||||
|
#
|
||||||
|
# adjective-auxiliary:
|
||||||
|
#形容詞-非自立
|
||||||
|
#
|
||||||
|
# adjective-suffix:
|
||||||
|
#形容詞-接尾
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# adverb: unclassified adverbs
|
||||||
|
#副詞
|
||||||
|
#
|
||||||
|
# adverb-misc: Words that can be segmented into one unit and where adnominal
|
||||||
|
# modification is not possible.
|
||||||
|
# e.g. あいかわらず, 多分
|
||||||
|
#副詞-一般
|
||||||
|
#
|
||||||
|
# adverb-particle_conjunction: Adverbs that can be followed by の, は, に,
|
||||||
|
# な, する, だ, etc.
|
||||||
|
# e.g. こんなに, そんなに, あんなに, なにか, なんでも
|
||||||
|
#副詞-助詞類接続
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# adnominal: Words that only have noun-modifying forms.
|
||||||
|
# e.g. この, その, あの, どの, いわゆる, なんらかの, 何らかの, いろんな, こういう, そういう, ああいう,
|
||||||
|
# どういう, こんな, そんな, あんな, どんな, 大きな, 小さな, おかしな, ほんの, たいした,
|
||||||
|
# 「(, も) さる (ことながら)」, 微々たる, 堂々たる, 単なる, いかなる, 我が」「同じ, 亡き
|
||||||
|
#連体詞
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# conjunction: Conjunctions that can occur independently.
|
||||||
|
# e.g. が, けれども, そして, じゃあ, それどころか
|
||||||
|
接続詞
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# particle: unclassified particles.
|
||||||
|
助詞
|
||||||
|
#
|
||||||
|
# particle-case: case particles where the subclassification is undefined.
|
||||||
|
助詞-格助詞
|
||||||
|
#
|
||||||
|
# particle-case-misc: Case particles.
|
||||||
|
# e.g. から, が, で, と, に, へ, より, を, の, にて
|
||||||
|
助詞-格助詞-一般
|
||||||
|
#
|
||||||
|
# particle-case-quote: the "to" that appears after nouns, a person’s speech,
|
||||||
|
# quotation marks, expressions of decisions from a meeting, reasons, judgements,
|
||||||
|
# conjectures, etc.
|
||||||
|
# e.g. ( だ) と (述べた.), ( である) と (して執行猶予...)
|
||||||
|
助詞-格助詞-引用
|
||||||
|
#
|
||||||
|
# particle-case-compound: Compounds of particles and verbs that mainly behave
|
||||||
|
# like case particles.
|
||||||
|
# e.g. という, といった, とかいう, として, とともに, と共に, でもって, にあたって, に当たって, に当って,
|
||||||
|
# にあたり, に当たり, に当り, に当たる, にあたる, において, に於いて,に於て, における, に於ける,
|
||||||
|
# にかけ, にかけて, にかんし, に関し, にかんして, に関して, にかんする, に関する, に際し,
|
||||||
|
# に際して, にしたがい, に従い, に従う, にしたがって, に従って, にたいし, に対し, にたいして,
|
||||||
|
# に対して, にたいする, に対する, について, につき, につけ, につけて, につれ, につれて, にとって,
|
||||||
|
# にとり, にまつわる, によって, に依って, に因って, により, に依り, に因り, による, に依る, に因る,
|
||||||
|
# にわたって, にわたる, をもって, を以って, を通じ, を通じて, を通して, をめぐって, をめぐり, をめぐる,
|
||||||
|
# って-口語/, ちゅう-関西弁「という」/, (何) ていう (人)-口語/, っていう-口語/, といふ, とかいふ
|
||||||
|
助詞-格助詞-連語
|
||||||
|
#
|
||||||
|
# particle-conjunctive:
|
||||||
|
# e.g. から, からには, が, けれど, けれども, けど, し, つつ, て, で, と, ところが, どころか, とも, ども,
|
||||||
|
# ながら, なり, ので, のに, ば, ものの, や ( した), やいなや, (ころん) じゃ(いけない)-口語/,
|
||||||
|
# (行っ) ちゃ(いけない)-口語/, (言っ) たって (しかたがない)-口語/, (それがなく)ったって (平気)-口語/
|
||||||
|
助詞-接続助詞
|
||||||
|
#
|
||||||
|
# particle-dependency:
|
||||||
|
# e.g. こそ, さえ, しか, すら, は, も, ぞ
|
||||||
|
助詞-係助詞
|
||||||
|
#
|
||||||
|
# particle-adverbial:
|
||||||
|
# e.g. がてら, かも, くらい, 位, ぐらい, しも, (学校) じゃ(これが流行っている)-口語/,
|
||||||
|
# (それ)じゃあ (よくない)-口語/, ずつ, (私) なぞ, など, (私) なり (に), (先生) なんか (大嫌い)-口語/,
|
||||||
|
# (私) なんぞ, (先生) なんて (大嫌い)-口語/, のみ, だけ, (私) だって-口語/, だに,
|
||||||
|
# (彼)ったら-口語/, (お茶) でも (いかが), 等 (とう), (今後) とも, ばかり, ばっか-口語/, ばっかり-口語/,
|
||||||
|
# ほど, 程, まで, 迄, (誰) も (が)([助詞-格助詞] および [助詞-係助詞] の前に位置する「も」)
|
||||||
|
助詞-副助詞
|
||||||
|
#
|
||||||
|
# particle-interjective: particles with interjective grammatical roles.
|
||||||
|
# e.g. (松島) や
|
||||||
|
助詞-間投助詞
|
||||||
|
#
|
||||||
|
# particle-coordinate:
|
||||||
|
# e.g. と, たり, だの, だり, とか, なり, や, やら
|
||||||
|
助詞-並立助詞
|
||||||
|
#
|
||||||
|
# particle-final:
|
||||||
|
# e.g. かい, かしら, さ, ぜ, (だ)っけ-口語/, (とまってる) で-方言/, な, ナ, なあ-口語/, ぞ, ね, ネ,
|
||||||
|
# ねぇ-口語/, ねえ-口語/, ねん-方言/, の, のう-口語/, や, よ, ヨ, よぉ-口語/, わ, わい-口語/
|
||||||
|
助詞-終助詞
|
||||||
|
#
|
||||||
|
# particle-adverbial/conjunctive/final: The particle "ka" when unknown whether it is
|
||||||
|
# adverbial, conjunctive, or sentence final. For example:
|
||||||
|
# (a) 「A か B か」. Ex:「(国内で運用する) か,(海外で運用する) か (.)」
|
||||||
|
# (b) Inside an adverb phrase. Ex:「(幸いという) か (, 死者はいなかった.)」
|
||||||
|
# 「(祈りが届いたせい) か (, 試験に合格した.)」
|
||||||
|
# (c) 「かのように」. Ex:「(何もなかった) か (のように振る舞った.)」
|
||||||
|
# e.g. か
|
||||||
|
助詞-副助詞/並立助詞/終助詞
|
||||||
|
#
|
||||||
|
# particle-adnominalizer: The "no" that attaches to nouns and modifies
|
||||||
|
# non-inflectional words.
|
||||||
|
助詞-連体化
|
||||||
|
#
|
||||||
|
# particle-adnominalizer: The "ni" and "to" that appear following nouns and adverbs
|
||||||
|
# that are giongo, giseigo, or gitaigo.
|
||||||
|
# e.g. に, と
|
||||||
|
助詞-副詞化
|
||||||
|
#
|
||||||
|
# particle-special: A particle that does not fit into one of the above classifications.
|
||||||
|
# This includes particles that are used in Tanka, Haiku, and other poetry.
|
||||||
|
# e.g. かな, けむ, ( しただろう) に, (あんた) にゃ(わからん), (俺) ん (家)
|
||||||
|
助詞-特殊
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# auxiliary-verb:
|
||||||
|
助動詞
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# interjection: Greetings and other exclamations.
|
||||||
|
# e.g. おはよう, おはようございます, こんにちは, こんばんは, ありがとう, どうもありがとう, ありがとうございます,
|
||||||
|
# いただきます, ごちそうさま, さよなら, さようなら, はい, いいえ, ごめん, ごめんなさい
|
||||||
|
#感動詞
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# symbol: unclassified Symbols.
|
||||||
|
記号
|
||||||
|
#
|
||||||
|
# symbol-misc: A general symbol not in one of the categories below.
|
||||||
|
# e.g. [○◎@$〒→+]
|
||||||
|
記号-一般
|
||||||
|
#
|
||||||
|
# symbol-comma: Commas
|
||||||
|
# e.g. [,、]
|
||||||
|
記号-読点
|
||||||
|
#
|
||||||
|
# symbol-period: Periods and full stops.
|
||||||
|
# e.g. [..。]
|
||||||
|
記号-句点
|
||||||
|
#
|
||||||
|
# symbol-space: Full-width whitespace.
|
||||||
|
記号-空白
|
||||||
|
#
|
||||||
|
# symbol-open_bracket:
|
||||||
|
# e.g. [({‘“『【]
|
||||||
|
記号-括弧開
|
||||||
|
#
|
||||||
|
# symbol-close_bracket:
|
||||||
|
# e.g. [)}’”』」】]
|
||||||
|
記号-括弧閉
|
||||||
|
#
|
||||||
|
# symbol-alphabetic:
|
||||||
|
#記号-アルファベット
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# other: unclassified other
|
||||||
|
#その他
|
||||||
|
#
|
||||||
|
# other-interjection: Words that are hard to classify as noun-suffixes or
|
||||||
|
# sentence-final particles.
|
||||||
|
# e.g. (だ)ァ
|
||||||
|
その他-間投
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# filler: Aizuchi that occurs during a conversation or sounds inserted as filler.
|
||||||
|
# e.g. あの, うんと, えと
|
||||||
|
フィラー
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# non-verbal: non-verbal sound.
|
||||||
|
非言語音
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# fragment:
|
||||||
|
#語断片
|
||||||
|
#
|
||||||
|
#####
|
||||||
|
# unknown: unknown part of speech.
|
||||||
|
#未知語
|
||||||
|
#
|
||||||
|
##### End of file
|
127
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/lang/stopwords_ja.txt
Executable file
127
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/lang/stopwords_ja.txt
Executable file
@ -0,0 +1,127 @@
|
|||||||
|
#
|
||||||
|
# This file defines a stopword set for Japanese.
|
||||||
|
#
|
||||||
|
# This set is made up of hand-picked frequent terms from segmented Japanese Wikipedia.
|
||||||
|
# Punctuation characters and frequent kanji have mostly been left out. See LUCENE-3745
|
||||||
|
# for frequency lists, etc. that can be useful for making your own set (if desired)
|
||||||
|
#
|
||||||
|
# Note that there is an overlap between these stopwords and the terms stopped when used
|
||||||
|
# in combination with the JapanesePartOfSpeechStopFilter. When editing this file, note
|
||||||
|
# that comments are not allowed on the same line as stopwords.
|
||||||
|
#
|
||||||
|
# Also note that stopping is done in a case-insensitive manner. Change your StopFilter
|
||||||
|
# configuration if you need case-sensitive stopping. Lastly, note that stopping is done
|
||||||
|
# using the same character width as the entries in this file. Since this StopFilter is
|
||||||
|
# normally done after a CJKWidthFilter in your chain, you would usually want your romaji
|
||||||
|
# entries to be in half-width and your kana entries to be in full-width.
|
||||||
|
#
|
||||||
|
の
|
||||||
|
に
|
||||||
|
は
|
||||||
|
を
|
||||||
|
た
|
||||||
|
が
|
||||||
|
で
|
||||||
|
て
|
||||||
|
と
|
||||||
|
し
|
||||||
|
れ
|
||||||
|
さ
|
||||||
|
ある
|
||||||
|
いる
|
||||||
|
も
|
||||||
|
する
|
||||||
|
から
|
||||||
|
な
|
||||||
|
こと
|
||||||
|
として
|
||||||
|
い
|
||||||
|
や
|
||||||
|
れる
|
||||||
|
など
|
||||||
|
なっ
|
||||||
|
ない
|
||||||
|
この
|
||||||
|
ため
|
||||||
|
その
|
||||||
|
あっ
|
||||||
|
よう
|
||||||
|
また
|
||||||
|
もの
|
||||||
|
という
|
||||||
|
あり
|
||||||
|
まで
|
||||||
|
られ
|
||||||
|
なる
|
||||||
|
へ
|
||||||
|
か
|
||||||
|
だ
|
||||||
|
これ
|
||||||
|
によって
|
||||||
|
により
|
||||||
|
おり
|
||||||
|
より
|
||||||
|
による
|
||||||
|
ず
|
||||||
|
なり
|
||||||
|
られる
|
||||||
|
において
|
||||||
|
ば
|
||||||
|
なかっ
|
||||||
|
なく
|
||||||
|
しかし
|
||||||
|
について
|
||||||
|
せ
|
||||||
|
だっ
|
||||||
|
その後
|
||||||
|
できる
|
||||||
|
それ
|
||||||
|
う
|
||||||
|
ので
|
||||||
|
なお
|
||||||
|
のみ
|
||||||
|
でき
|
||||||
|
き
|
||||||
|
つ
|
||||||
|
における
|
||||||
|
および
|
||||||
|
いう
|
||||||
|
さらに
|
||||||
|
でも
|
||||||
|
ら
|
||||||
|
たり
|
||||||
|
その他
|
||||||
|
に関する
|
||||||
|
たち
|
||||||
|
ます
|
||||||
|
ん
|
||||||
|
なら
|
||||||
|
に対して
|
||||||
|
特に
|
||||||
|
せる
|
||||||
|
及び
|
||||||
|
これら
|
||||||
|
とき
|
||||||
|
では
|
||||||
|
にて
|
||||||
|
ほか
|
||||||
|
ながら
|
||||||
|
うち
|
||||||
|
そして
|
||||||
|
とともに
|
||||||
|
ただし
|
||||||
|
かつて
|
||||||
|
それぞれ
|
||||||
|
または
|
||||||
|
お
|
||||||
|
ほど
|
||||||
|
ものの
|
||||||
|
に対する
|
||||||
|
ほとんど
|
||||||
|
と共に
|
||||||
|
といった
|
||||||
|
です
|
||||||
|
とも
|
||||||
|
ところ
|
||||||
|
ここ
|
||||||
|
##### End of file
|
@ -0,0 +1,4 @@
|
|||||||
|
.level = INFO
|
||||||
|
|
||||||
|
# Write to the console, we will forward it to a file determined at runtime
|
||||||
|
handlers = java.util.logging.ConsoleHandler
|
@ -0,0 +1,4 @@
|
|||||||
|
.level = WARNING
|
||||||
|
|
||||||
|
# Write to the console, we will forward it to a file determined at runtime
|
||||||
|
handlers = java.util.logging.ConsoleHandler
|
3813
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/mapping-FoldToASCII.txt
Executable file
3813
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/mapping-FoldToASCII.txt
Executable file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,246 @@
|
|||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
# Syntax:
|
||||||
|
# "source" => "target"
|
||||||
|
# "source".length() > 0 (source cannot be empty.)
|
||||||
|
# "target".length() >= 0 (target can be empty.)
|
||||||
|
|
||||||
|
# example:
|
||||||
|
# "À" => "A"
|
||||||
|
# "\u00C0" => "A"
|
||||||
|
# "\u00C0" => "\u0041"
|
||||||
|
# "ß" => "ss"
|
||||||
|
# "\t" => " "
|
||||||
|
# "\n" => ""
|
||||||
|
|
||||||
|
# À => A
|
||||||
|
"\u00C0" => "A"
|
||||||
|
|
||||||
|
# Á => A
|
||||||
|
"\u00C1" => "A"
|
||||||
|
|
||||||
|
# Â => A
|
||||||
|
"\u00C2" => "A"
|
||||||
|
|
||||||
|
# Ã => A
|
||||||
|
"\u00C3" => "A"
|
||||||
|
|
||||||
|
# Ä => A
|
||||||
|
"\u00C4" => "A"
|
||||||
|
|
||||||
|
# Å => A
|
||||||
|
"\u00C5" => "A"
|
||||||
|
|
||||||
|
# Æ => AE
|
||||||
|
"\u00C6" => "AE"
|
||||||
|
|
||||||
|
# Ç => C
|
||||||
|
"\u00C7" => "C"
|
||||||
|
|
||||||
|
# È => E
|
||||||
|
"\u00C8" => "E"
|
||||||
|
|
||||||
|
# É => E
|
||||||
|
"\u00C9" => "E"
|
||||||
|
|
||||||
|
# Ê => E
|
||||||
|
"\u00CA" => "E"
|
||||||
|
|
||||||
|
# Ë => E
|
||||||
|
"\u00CB" => "E"
|
||||||
|
|
||||||
|
# Ì => I
|
||||||
|
"\u00CC" => "I"
|
||||||
|
|
||||||
|
# Í => I
|
||||||
|
"\u00CD" => "I"
|
||||||
|
|
||||||
|
# Î => I
|
||||||
|
"\u00CE" => "I"
|
||||||
|
|
||||||
|
# Ï => I
|
||||||
|
"\u00CF" => "I"
|
||||||
|
|
||||||
|
# IJ => IJ
|
||||||
|
"\u0132" => "IJ"
|
||||||
|
|
||||||
|
# Ð => D
|
||||||
|
"\u00D0" => "D"
|
||||||
|
|
||||||
|
# Ñ => N
|
||||||
|
"\u00D1" => "N"
|
||||||
|
|
||||||
|
# Ò => O
|
||||||
|
"\u00D2" => "O"
|
||||||
|
|
||||||
|
# Ó => O
|
||||||
|
"\u00D3" => "O"
|
||||||
|
|
||||||
|
# Ô => O
|
||||||
|
"\u00D4" => "O"
|
||||||
|
|
||||||
|
# Õ => O
|
||||||
|
"\u00D5" => "O"
|
||||||
|
|
||||||
|
# Ö => O
|
||||||
|
"\u00D6" => "O"
|
||||||
|
|
||||||
|
# Ø => O
|
||||||
|
"\u00D8" => "O"
|
||||||
|
|
||||||
|
# Œ => OE
|
||||||
|
"\u0152" => "OE"
|
||||||
|
|
||||||
|
# Þ
|
||||||
|
"\u00DE" => "TH"
|
||||||
|
|
||||||
|
# Ù => U
|
||||||
|
"\u00D9" => "U"
|
||||||
|
|
||||||
|
# Ú => U
|
||||||
|
"\u00DA" => "U"
|
||||||
|
|
||||||
|
# Û => U
|
||||||
|
"\u00DB" => "U"
|
||||||
|
|
||||||
|
# Ü => U
|
||||||
|
"\u00DC" => "U"
|
||||||
|
|
||||||
|
# Ý => Y
|
||||||
|
"\u00DD" => "Y"
|
||||||
|
|
||||||
|
# Ÿ => Y
|
||||||
|
"\u0178" => "Y"
|
||||||
|
|
||||||
|
# à => a
|
||||||
|
"\u00E0" => "a"
|
||||||
|
|
||||||
|
# á => a
|
||||||
|
"\u00E1" => "a"
|
||||||
|
|
||||||
|
# â => a
|
||||||
|
"\u00E2" => "a"
|
||||||
|
|
||||||
|
# ã => a
|
||||||
|
"\u00E3" => "a"
|
||||||
|
|
||||||
|
# ä => a
|
||||||
|
"\u00E4" => "a"
|
||||||
|
|
||||||
|
# å => a
|
||||||
|
"\u00E5" => "a"
|
||||||
|
|
||||||
|
# æ => ae
|
||||||
|
"\u00E6" => "ae"
|
||||||
|
|
||||||
|
# ç => c
|
||||||
|
"\u00E7" => "c"
|
||||||
|
|
||||||
|
# è => e
|
||||||
|
"\u00E8" => "e"
|
||||||
|
|
||||||
|
# é => e
|
||||||
|
"\u00E9" => "e"
|
||||||
|
|
||||||
|
# ê => e
|
||||||
|
"\u00EA" => "e"
|
||||||
|
|
||||||
|
# ë => e
|
||||||
|
"\u00EB" => "e"
|
||||||
|
|
||||||
|
# ì => i
|
||||||
|
"\u00EC" => "i"
|
||||||
|
|
||||||
|
# í => i
|
||||||
|
"\u00ED" => "i"
|
||||||
|
|
||||||
|
# î => i
|
||||||
|
"\u00EE" => "i"
|
||||||
|
|
||||||
|
# ï => i
|
||||||
|
"\u00EF" => "i"
|
||||||
|
|
||||||
|
# ij => ij
|
||||||
|
"\u0133" => "ij"
|
||||||
|
|
||||||
|
# ð => d
|
||||||
|
"\u00F0" => "d"
|
||||||
|
|
||||||
|
# ñ => n
|
||||||
|
"\u00F1" => "n"
|
||||||
|
|
||||||
|
# ò => o
|
||||||
|
"\u00F2" => "o"
|
||||||
|
|
||||||
|
# ó => o
|
||||||
|
"\u00F3" => "o"
|
||||||
|
|
||||||
|
# ô => o
|
||||||
|
"\u00F4" => "o"
|
||||||
|
|
||||||
|
# õ => o
|
||||||
|
"\u00F5" => "o"
|
||||||
|
|
||||||
|
# ö => o
|
||||||
|
"\u00F6" => "o"
|
||||||
|
|
||||||
|
# ø => o
|
||||||
|
"\u00F8" => "o"
|
||||||
|
|
||||||
|
# œ => oe
|
||||||
|
"\u0153" => "oe"
|
||||||
|
|
||||||
|
# ß => ss
|
||||||
|
"\u00DF" => "ss"
|
||||||
|
|
||||||
|
# þ => th
|
||||||
|
"\u00FE" => "th"
|
||||||
|
|
||||||
|
# ù => u
|
||||||
|
"\u00F9" => "u"
|
||||||
|
|
||||||
|
# ú => u
|
||||||
|
"\u00FA" => "u"
|
||||||
|
|
||||||
|
# û => u
|
||||||
|
"\u00FB" => "u"
|
||||||
|
|
||||||
|
# ü => u
|
||||||
|
"\u00FC" => "u"
|
||||||
|
|
||||||
|
# ý => y
|
||||||
|
"\u00FD" => "y"
|
||||||
|
|
||||||
|
# ÿ => y
|
||||||
|
"\u00FF" => "y"
|
||||||
|
|
||||||
|
# ff => ff
|
||||||
|
"\uFB00" => "ff"
|
||||||
|
|
||||||
|
# fi => fi
|
||||||
|
"\uFB01" => "fi"
|
||||||
|
|
||||||
|
# fl => fl
|
||||||
|
"\uFB02" => "fl"
|
||||||
|
|
||||||
|
# ffi => ffi
|
||||||
|
"\uFB03" => "ffi"
|
||||||
|
|
||||||
|
# ffl => ffl
|
||||||
|
"\uFB04" => "ffl"
|
||||||
|
|
||||||
|
# ſt => ft
|
||||||
|
"\uFB05" => "ft"
|
||||||
|
|
||||||
|
# st => st
|
||||||
|
"\uFB06" => "st"
|
21
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/protwords.txt
Executable file
21
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/protwords.txt
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
# Use a protected word file to protect against the stemmer reducing two
|
||||||
|
# unrelated words to the same base word.
|
||||||
|
|
||||||
|
# Some non-words that normally won't be encountered,
|
||||||
|
# just to test that they won't be stemmed.
|
||||||
|
dontstems
|
||||||
|
zwhacky
|
||||||
|
|
710
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/schema.xml
Executable file
710
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/schema.xml
Executable file
@ -0,0 +1,710 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
(the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This is the Solr schema file. This file should be named "schema.xml" and
|
||||||
|
should be in the conf directory under the solr home
|
||||||
|
(i.e. ./solr/conf/schema.xml by default)
|
||||||
|
or located where the classloader for the Solr webapp can find it.
|
||||||
|
|
||||||
|
This example schema is the recommended starting point for users.
|
||||||
|
It should be kept correct and concise, usable out-of-the-box.
|
||||||
|
|
||||||
|
For more information, on how to customize this file, please see
|
||||||
|
http://wiki.apache.org/solr/SchemaXml
|
||||||
|
|
||||||
|
PERFORMANCE NOTE: this schema includes many optional features and should not
|
||||||
|
be used for benchmarking. To improve performance one could
|
||||||
|
- set stored="false" for all fields possible (esp large fields) when you
|
||||||
|
only need to search on the field but don't need to return the original
|
||||||
|
value.
|
||||||
|
- set indexed="false" if you don't need to search on the field, but only
|
||||||
|
return the field as a result of searching on other indexed fields.
|
||||||
|
- remove all unneeded copyField statements
|
||||||
|
- for best index size and searching performance, set "index" to false
|
||||||
|
for all general text fields, use copyField to copy them to the
|
||||||
|
catchall "text" field, and use that for searching.
|
||||||
|
- For maximum indexing performance, use the StreamingUpdateSolrServer
|
||||||
|
java client.
|
||||||
|
- Remember to run the JVM in server mode, and use a higher logging level
|
||||||
|
that avoids logging every request
|
||||||
|
-->
|
||||||
|
|
||||||
|
<schema name="Autopsy Keyword Search" version="2.2">
|
||||||
|
<!-- attribute "name" is the name of this schema and is only used for display purposes.
|
||||||
|
Applications should change this to reflect the nature of the search collection.
|
||||||
|
version="1.4" is Solr's version number for the schema syntax and semantics. It should
|
||||||
|
not normally be changed by applications.
|
||||||
|
1.0: multiValued attribute did not exist, all fields are multiValued by nature
|
||||||
|
1.1: multiValued attribute introduced, false by default
|
||||||
|
1.2: omitTermFreqAndPositions attribute introduced, true by default except for text fields.
|
||||||
|
1.3: removed optional field compress feature
|
||||||
|
1.4: default auto-phrase (QueryParser feature) to off
|
||||||
|
1.5: added content_ws field for regular expression friendly indexing
|
||||||
|
1.6: added num_chunks for chunking support
|
||||||
|
1.7 added _version_ field for Solr Cloud
|
||||||
|
1.8 added new content_str string field and stopped copying content and file_name into content_ws
|
||||||
|
2.0 added chunk_size field
|
||||||
|
2.1 to facilitate case insensitive regex search,no longer copying content into content_str.
|
||||||
|
content_str will be populated with lowercase content by Autopsy.
|
||||||
|
2.2 added text_ja type, content_ja and language fields to support Japanese text search
|
||||||
|
-->
|
||||||
|
|
||||||
|
<types>
|
||||||
|
<!-- field type definitions. The "name" attribute is
|
||||||
|
just a label to be used by field definitions. The "class"
|
||||||
|
attribute and any other attributes determine the real
|
||||||
|
behavior of the fieldType.
|
||||||
|
Class names starting with "solr" refer to java classes in the
|
||||||
|
org.apache.solr.analysis package.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
|
||||||
|
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
|
||||||
|
<!-- boolean type: "true" or "false" -->
|
||||||
|
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
<!--Binary data type. The data should be sent/retrieved in as Base64 encoded Strings -->
|
||||||
|
<fieldtype name="binary" class="solr.BinaryField"/>
|
||||||
|
|
||||||
|
<!-- The optional sortMissingLast and sortMissingFirst attributes are
|
||||||
|
currently supported on types that are sorted internally as strings.
|
||||||
|
This includes "string","boolean","sint","slong","sfloat","sdouble","pdate"
|
||||||
|
- If sortMissingLast="true", then a sort on this field will cause documents
|
||||||
|
without the field to come after documents with the field,
|
||||||
|
regardless of the requested sort order (asc or desc).
|
||||||
|
- If sortMissingFirst="true", then a sort on this field will cause documents
|
||||||
|
without the field to come before documents with the field,
|
||||||
|
regardless of the requested sort order.
|
||||||
|
- If sortMissingLast="false" and sortMissingFirst="false" (the default),
|
||||||
|
then default lucene sorting will be used which places docs without the
|
||||||
|
field first in an ascending sort and last in a descending sort.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
|
||||||
|
-->
|
||||||
|
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Numeric field types that index each value at various levels of precision
|
||||||
|
to accelerate range queries when the number of values between the range
|
||||||
|
endpoints is large. See the javadoc for NumericRangeQuery for internal
|
||||||
|
implementation details.
|
||||||
|
|
||||||
|
Smaller precisionStep values (specified in bits) will lead to more tokens
|
||||||
|
indexed per value, slightly larger index size, and faster range queries.
|
||||||
|
A precisionStep of 0 disables indexing at different precision levels.
|
||||||
|
-->
|
||||||
|
<fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
<fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" omitNorms="true" positionIncrementGap="0"/>
|
||||||
|
|
||||||
|
<!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
|
||||||
|
is a more restricted form of the canonical representation of dateTime
|
||||||
|
http://www.w3.org/TR/xmlschema-2/#dateTime
|
||||||
|
The trailing "Z" designates UTC time and is mandatory.
|
||||||
|
Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
|
||||||
|
All other components are mandatory.
|
||||||
|
|
||||||
|
Expressions can also be used to denote calculations that should be
|
||||||
|
performed relative to "NOW" to determine the value, ie...
|
||||||
|
|
||||||
|
NOW/HOUR
|
||||||
|
... Round to the start of the current hour
|
||||||
|
NOW-1DAY
|
||||||
|
... Exactly 1 day prior to now
|
||||||
|
NOW/DAY+6MONTHS+3DAYS
|
||||||
|
... 6 months and 3 days in the future from the start of
|
||||||
|
the current day
|
||||||
|
|
||||||
|
Consult the DateField javadocs for more information.
|
||||||
|
|
||||||
|
Note: For faster range queries, consider the tdate type
|
||||||
|
-->
|
||||||
|
<fieldType name="date" class="solr.TrieDateField" omitNorms="true" precisionStep="0" positionIncrementGap="0"/>
|
||||||
|
|
||||||
|
<!-- A Trie based date field for faster date range queries and date faceting. -->
|
||||||
|
<fieldType name="tdate" class="solr.TrieDateField" omitNorms="true" precisionStep="6" positionIncrementGap="0"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Note:
|
||||||
|
These should only be used for compatibility with existing indexes (created with older Solr versions)
|
||||||
|
or if "sortMissingFirst" or "sortMissingLast" functionality is needed. Use Trie based fields instead.
|
||||||
|
|
||||||
|
Plain numeric field types that store and index the text
|
||||||
|
value verbatim (and hence don't support range queries, since the
|
||||||
|
lexicographic ordering isn't equal to the numeric ordering)
|
||||||
|
-->
|
||||||
|
<fieldType name="pint" class="solr.IntField" omitNorms="true"/>
|
||||||
|
<fieldType name="plong" class="solr.LongField" omitNorms="true"/>
|
||||||
|
<fieldType name="pfloat" class="solr.FloatField" omitNorms="true"/>
|
||||||
|
<fieldType name="pdouble" class="solr.DoubleField" omitNorms="true"/>
|
||||||
|
<fieldType name="pdate" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Note:
|
||||||
|
These should only be used for compatibility with existing indexes (created with older Solr versions)
|
||||||
|
or if "sortMissingFirst" or "sortMissingLast" functionality is needed. Use Trie based fields instead.
|
||||||
|
|
||||||
|
Numeric field types that manipulate the value into
|
||||||
|
a string value that isn't human-readable in its internal form,
|
||||||
|
but with a lexicographic ordering the same as the numeric ordering,
|
||||||
|
so that range queries work correctly.
|
||||||
|
-->
|
||||||
|
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
<fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
<fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
<fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- The "RandomSortField" is not used to store or search any
|
||||||
|
data. You can declare fields of this type it in your schema
|
||||||
|
to generate pseudo-random orderings of your docs for sorting
|
||||||
|
purposes. The ordering is generated based on the field name
|
||||||
|
and the version of the index, As long as the index version
|
||||||
|
remains unchanged, and the same field name is reused,
|
||||||
|
the ordering of the docs will be consistent.
|
||||||
|
If you want different psuedo-random orderings of documents,
|
||||||
|
for the same version of the index, use a dynamicField and
|
||||||
|
change the name
|
||||||
|
-->
|
||||||
|
<fieldType name="random" class="solr.RandomSortField" indexed="true" />
|
||||||
|
|
||||||
|
<!-- solr.TextField allows the specification of custom text analyzers
|
||||||
|
specified as a tokenizer and a list of token filters. Different
|
||||||
|
analyzers may be specified for indexing and querying.
|
||||||
|
|
||||||
|
The optional positionIncrementGap puts space between multiple fields of
|
||||||
|
this type on the same document, with the purpose of preventing false phrase
|
||||||
|
matching across fields.
|
||||||
|
|
||||||
|
For more info on customizing your analyzer chain, please see
|
||||||
|
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- One can also specify an existing Analyzer class that has a
|
||||||
|
default constructor via the class attribute on the analyzer element
|
||||||
|
<fieldType name="text_greek" class="solr.TextField">
|
||||||
|
<analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
|
||||||
|
</fieldType>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- A text field that only splits on whitespace for exact matching of words -->
|
||||||
|
<fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<!-- 200000 token limit ensures we are indexing entire 1MB chunk of meaningful tokens, increase the limit for larger chunks -->
|
||||||
|
<filter class="solr.LimitTokenCountFilterFactory" maxTokenCount="200000"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- A general text field that has reasonable, generic
|
||||||
|
cross-language defaults: it tokenizes with StandardTokenizer,
|
||||||
|
removes stop words from case-insensitive "stopwords.txt"
|
||||||
|
(empty by default), and down cases. At query time only, it
|
||||||
|
also applies synonyms. -->
|
||||||
|
<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer type="index">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.LimitTokenCountFilterFactory" maxTokenCount="200000"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_en.txt" enablePositionIncrements="true" />
|
||||||
|
<!-- in this example, we will only use synonyms at query time
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
|
||||||
|
-->
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
<analyzer type="query">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.LimitTokenCountFilterFactory" maxTokenCount="200000"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_en.txt" enablePositionIncrements="true" />
|
||||||
|
<!--<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>-->
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<fieldType name="text_ja" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.JapaneseTokenizerFactory" mode="search"/>
|
||||||
|
<filter class="solr.JapaneseBaseFormFilterFactory"/>
|
||||||
|
<filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="lang/stoptags_ja.txt" />
|
||||||
|
<filter class="solr.CJKWidthFilterFactory"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ja.txt" />
|
||||||
|
<filter class="solr.JapaneseKatakanaStemFilterFactory" minimumLength="4"/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- A text field with defaults appropriate for English: it
|
||||||
|
tokenizes with StandardTokenizer, removes English stop words
|
||||||
|
(stopwords_en.txt), down cases, protects words from protwords.txt, and
|
||||||
|
finally applies Porter's stemming. The query time analyzer
|
||||||
|
also applies synonyms from synonyms.txt. -->
|
||||||
|
<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer type="index">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<!-- in this example, we will only use synonyms at query time
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
|
||||||
|
-->
|
||||||
|
<!-- Case insensitive stop word removal.
|
||||||
|
add enablePositionIncrements=true in both the index and query
|
||||||
|
analyzers to leave a 'gap' for more accurate phrase queries.
|
||||||
|
-->
|
||||||
|
<filter class="solr.StopFilterFactory"
|
||||||
|
ignoreCase="true"
|
||||||
|
words="stopwords_en.txt"
|
||||||
|
enablePositionIncrements="true"
|
||||||
|
/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.EnglishPossessiveFilterFactory"/>
|
||||||
|
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||||
|
<!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
|
||||||
|
<filter class="solr.EnglishMinimalStemFilterFactory"/>
|
||||||
|
-->
|
||||||
|
<filter class="solr.PorterStemFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
<analyzer type="query">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
||||||
|
<filter class="solr.StopFilterFactory"
|
||||||
|
ignoreCase="true"
|
||||||
|
words="stopwords_en.txt"
|
||||||
|
enablePositionIncrements="true"
|
||||||
|
/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.EnglishPossessiveFilterFactory"/>
|
||||||
|
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||||
|
<!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
|
||||||
|
<filter class="solr.EnglishMinimalStemFilterFactory"/>
|
||||||
|
-->
|
||||||
|
<filter class="solr.PorterStemFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- A text field with defaults appropriate for English, plus
|
||||||
|
aggressive word-splitting and autophrase features enabled.
|
||||||
|
This field is just like text_en, except it adds
|
||||||
|
WordDelimiterFilter to enable splitting and matching of
|
||||||
|
words on case-change, alpha numeric boundaries, and
|
||||||
|
non-alphanumeric chars. This means certain compound word
|
||||||
|
cases will work, for example query "wi fi" will match
|
||||||
|
document "WiFi" or "wi-fi". However, other cases will still
|
||||||
|
not match, for example if the query is "wifi" and the
|
||||||
|
document is "wi fi" or if the query is "wi-fi" and the
|
||||||
|
document is "wifi".
|
||||||
|
-->
|
||||||
|
<fieldType name="text_en_splitting" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
|
||||||
|
<analyzer type="index">
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<!-- in this example, we will only use synonyms at query time
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
|
||||||
|
-->
|
||||||
|
<!-- Case insensitive stop word removal.
|
||||||
|
add enablePositionIncrements=true in both the index and query
|
||||||
|
analyzers to leave a 'gap' for more accurate phrase queries.
|
||||||
|
-->
|
||||||
|
<filter class="solr.StopFilterFactory"
|
||||||
|
ignoreCase="true"
|
||||||
|
words="stopwords_en.txt"
|
||||||
|
enablePositionIncrements="true"
|
||||||
|
/>
|
||||||
|
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||||
|
<filter class="solr.PorterStemFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
<analyzer type="query">
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
||||||
|
<filter class="solr.StopFilterFactory"
|
||||||
|
ignoreCase="true"
|
||||||
|
words="stopwords_en.txt"
|
||||||
|
enablePositionIncrements="true"
|
||||||
|
/>
|
||||||
|
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||||
|
<filter class="solr.PorterStemFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- Less flexible matching, but less false matches. Probably not ideal for product names,
|
||||||
|
but may be good for SKUs. Can insert dashes in the wrong place and still match. -->
|
||||||
|
<fieldType name="text_en_splitting_tight" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_en.txt"/>
|
||||||
|
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||||
|
<filter class="solr.EnglishMinimalStemFilterFactory"/>
|
||||||
|
<!-- this filter can remove any duplicate tokens that appear at the same position - sometimes
|
||||||
|
possible with WordDelimiterFilter in conjuncton with stemming. -->
|
||||||
|
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- Just like text_general except it reverses the characters of
|
||||||
|
each token, to enable more efficient leading wildcard queries. -->
|
||||||
|
<fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer type="index">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
<filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
|
||||||
|
maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
|
||||||
|
</analyzer>
|
||||||
|
<analyzer type="query">
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||||
|
<filter class="solr.LowerCaseFilterFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- charFilter + WhitespaceTokenizer -->
|
||||||
|
<!--
|
||||||
|
<fieldType name="text_char_norm" class="solr.TextField" positionIncrementGap="100" >
|
||||||
|
<analyzer>
|
||||||
|
<charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is an example of using the KeywordTokenizer along
|
||||||
|
With various TokenFilterFactories to produce a sortable field
|
||||||
|
that does not include some properties of the source text
|
||||||
|
-->
|
||||||
|
<fieldType name="alphaOnlySort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
|
||||||
|
<analyzer>
|
||||||
|
<!-- KeywordTokenizer does no actual tokenizing, so the entire
|
||||||
|
input string is preserved as a single token
|
||||||
|
-->
|
||||||
|
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||||
|
<!-- The LowerCase TokenFilter does what you expect, which can be
|
||||||
|
when you want your sorting to be case insensitive
|
||||||
|
-->
|
||||||
|
<filter class="solr.LowerCaseFilterFactory" />
|
||||||
|
<!-- The TrimFilter removes any leading or trailing whitespace -->
|
||||||
|
<filter class="solr.TrimFilterFactory" />
|
||||||
|
<!-- The PatternReplaceFilter gives you the flexibility to use
|
||||||
|
Java Regular expression to replace any sequence of characters
|
||||||
|
matching a pattern with an arbitrary replacement string,
|
||||||
|
which may include back references to portions of the original
|
||||||
|
string matched by the pattern.
|
||||||
|
|
||||||
|
See the Java Regular Expression documentation for more
|
||||||
|
information on pattern and replacement string syntax.
|
||||||
|
|
||||||
|
http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/package-summary.html
|
||||||
|
-->
|
||||||
|
<filter class="solr.PatternReplaceFilterFactory"
|
||||||
|
pattern="([^a-z])" replacement="" replace="all"
|
||||||
|
/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||||
|
<filter class="solr.DoubleMetaphoneFilterFactory" inject="false"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldtype>
|
||||||
|
|
||||||
|
<fieldtype name="payloads" stored="false" indexed="true" class="solr.TextField" >
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||||
|
<!--
|
||||||
|
The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
|
||||||
|
a token of "foo|1.4" would be indexed as "foo" with a payload of 1.4f
|
||||||
|
Attributes of the DelimitedPayloadTokenFilterFactory :
|
||||||
|
"delimiter" - a one character delimiter. Default is | (pipe)
|
||||||
|
"encoder" - how to encode the following value into a playload
|
||||||
|
float -> org.apache.lucene.analysis.payloads.FloatEncoder,
|
||||||
|
integer -> o.a.l.a.p.IntegerEncoder
|
||||||
|
identity -> o.a.l.a.p.IdentityEncoder
|
||||||
|
Fully Qualified class name implementing PayloadEncoder, Encoder must have a no arg constructor.
|
||||||
|
-->
|
||||||
|
<filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldtype>
|
||||||
|
|
||||||
|
<!-- lowercases the entire field value, keeping it as a single token. -->
|
||||||
|
<fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||||
|
<filter class="solr.LowerCaseFilterFactory" />
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<fieldType name="text_path" class="solr.TextField" positionIncrementGap="100">
|
||||||
|
<analyzer>
|
||||||
|
<tokenizer class="solr.PathHierarchyTokenizerFactory"/>
|
||||||
|
</analyzer>
|
||||||
|
</fieldType>
|
||||||
|
|
||||||
|
<!-- since fields of this type are by default not stored or indexed,
|
||||||
|
any data added to them will be ignored outright. -->
|
||||||
|
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
|
||||||
|
|
||||||
|
<!-- This point type indexes the coordinates as separate fields (subFields)
|
||||||
|
If subFieldType is defined, it references a type, and a dynamic field
|
||||||
|
definition is created matching *___<typename>. Alternately, if
|
||||||
|
subFieldSuffix is defined, that is used to create the subFields.
|
||||||
|
Example: if subFieldType="double", then the coordinates would be
|
||||||
|
indexed in fields myloc_0___double,myloc_1___double.
|
||||||
|
Example: if subFieldSuffix="_d" then the coordinates would be indexed
|
||||||
|
in fields myloc_0_d,myloc_1_d
|
||||||
|
The subFields are an implementation detail of the fieldType, and end
|
||||||
|
users normally should not need to know about them.
|
||||||
|
-->
|
||||||
|
<fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
|
||||||
|
|
||||||
|
<!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
|
||||||
|
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
A Geohash is a compact representation of a latitude longitude pair in a single field.
|
||||||
|
See http://wiki.apache.org/solr/SpatialSearch
|
||||||
|
-->
|
||||||
|
<fieldtype name="geohash" class="solr.GeoHashField"/>
|
||||||
|
</types>
|
||||||
|
|
||||||
|
|
||||||
|
<fields>
|
||||||
|
<!-- Valid attributes for fields:
|
||||||
|
name: mandatory - the name for the field
|
||||||
|
type: mandatory - the name of a previously defined type from the
|
||||||
|
<types> section
|
||||||
|
indexed: true if this field should be indexed (searchable or sortable)
|
||||||
|
stored: true if this field should be retrievable
|
||||||
|
multiValued: true if this field may contain multiple values per document
|
||||||
|
omitNorms: (expert) set to true to omit the norms associated with
|
||||||
|
this field (this disables length normalization and index-time
|
||||||
|
boosting for the field, and saves some memory). Only full-text
|
||||||
|
fields or fields that need an index-time boost need norms.
|
||||||
|
termVectors: [false] set to true to store the term vector for a
|
||||||
|
given field.
|
||||||
|
When using MoreLikeThis, fields used for similarity should be
|
||||||
|
stored for best performance.
|
||||||
|
termPositions: Store position information with the term vector.
|
||||||
|
This will increase storage costs.
|
||||||
|
termOffsets: Store offset information with the term vector. This
|
||||||
|
will increase storage costs.
|
||||||
|
default: a value that should be used if no value is specified
|
||||||
|
when adding a document.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- _version_ is required when using a Solr Cloud infrastructure. -->
|
||||||
|
<field name="_version_" type="long" indexed="true" stored="true" />
|
||||||
|
|
||||||
|
<!-- object id of the file -->
|
||||||
|
<field name="id" type="string" indexed="true" stored="true" required="true" />
|
||||||
|
|
||||||
|
<!-- use image_id to easily search a specific image only -->
|
||||||
|
<field name="image_id" type="string" indexed="true" stored="false" required="true" />
|
||||||
|
|
||||||
|
<!-- Autopsy pushes text to this field and gets the text to display from it. It is copied to other places -->
|
||||||
|
<field name="content" type="string" indexed="false" stored="false" />
|
||||||
|
|
||||||
|
<!-- The strings field holds strings extracted from files that SolrCell doesn't support -->
|
||||||
|
<!--<field name="strings" type="text_general" indexed="true" stored="true"/>-->
|
||||||
|
|
||||||
|
<!-- NOTE: file_name gets copied later to other fields for searching -->
|
||||||
|
<field name="file_name" type="text_general" indexed="false" stored="true"/>
|
||||||
|
<field name="ctime" type="tdate" indexed="false" stored="false"/>
|
||||||
|
<field name="atime" type="tdate" indexed="false" stored="false"/>
|
||||||
|
<field name="mtime" type="tdate" indexed="false" stored="false"/>
|
||||||
|
<field name="crtime" type="tdate" indexed="false" stored="false"/>
|
||||||
|
|
||||||
|
<!-- file chunk-specific fields (optional for others) -->
|
||||||
|
<!-- for a parent file with no content, number of chunks are specified -->
|
||||||
|
<field name="num_chunks" type="int" indexed="true" stored="true" required="false" />
|
||||||
|
<field name="chunk_size" type="int" indexed="true" stored="true" required="false" />
|
||||||
|
|
||||||
|
<!-- Common metadata fields, named specifically to match up with
|
||||||
|
SolrCell metadata when parsing rich documents such as Word, PDF.
|
||||||
|
Some fields are multiValued only because Tika currently may return
|
||||||
|
multiple values for them.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<field name="title" type="text_general" indexed="false" stored="false" multiValued="true"/>
|
||||||
|
<field name="subject" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="description" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="comments" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="author" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="keywords" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="category" type="text_general" indexed="false" stored="false"/>
|
||||||
|
<field name="content_type" type="string" indexed="false" stored="false" multiValued="true"/>
|
||||||
|
<field name="last_modified" type="date" indexed="false" stored="false"/>
|
||||||
|
<field name="links" type="string" indexed="false" stored="false" multiValued="true"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Tika places all metadata into a multivalued field named "meta" -->
|
||||||
|
<!--<field name="meta" type="text_general" indexed="true" stored="true" multiValued="true"/> -->
|
||||||
|
|
||||||
|
<!-- catchall field, containing all other searchable text fields (implemented
|
||||||
|
via copyField further on in this schema -->
|
||||||
|
<field name="text" type="text_general" indexed="true" stored="true" termVectors="true" termPositions="true" termOffsets="true" multiValued="true"/>
|
||||||
|
|
||||||
|
<!-- Store language detection result. Only parents of text documents have this -->
|
||||||
|
<field name="language" type="string" indexed="false" stored="true" required="false"/>
|
||||||
|
|
||||||
|
<field name="content_ja" type="text_ja" indexed="true" stored="true" termVectors="true" termPositions="true" termOffsets="true" multiValued="true"/>
|
||||||
|
|
||||||
|
<!-- catchall text field that indexes tokens both normally and in reverse for efficient
|
||||||
|
leading wildcard queries. -->
|
||||||
|
<!--<field name="text_rev" type="text_general_rev" indexed="true" stored="false" multiValued="true"/>-->
|
||||||
|
|
||||||
|
<!-- field with white-space tokenized words for TermsComponent regex search.
|
||||||
|
No longer being populated by Autopsy, but remains for backward compatability.
|
||||||
|
content_str is used instead to better deal with regex that have white space. -->
|
||||||
|
<field name="content_ws" type="text_ws" indexed="true" stored="false" multiValued="true" />
|
||||||
|
|
||||||
|
<!-- field that contains the raw string form of the chunk. Used for regular expression
|
||||||
|
matching. Populated by Autopsy using lower-case text and a copyField for file name. -->
|
||||||
|
<field name="content_str" type="string" indexed="true" stored="true" multiValued="true" />
|
||||||
|
|
||||||
|
<!-- Uncommenting the following will create a "timestamp" field using
|
||||||
|
a default value of "NOW" to indicate when each document was indexed.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Dynamic field definitions. If a field name is not found, dynamicFields
|
||||||
|
will be used if the name matches any of the patterns.
|
||||||
|
RESTRICTION: the glob-like pattern in the name attribute must have
|
||||||
|
a "*" only at the start or the end.
|
||||||
|
EXAMPLE: name="*_i" will match any field ending in _i (like myid_i, z_i)
|
||||||
|
Longer patterns will be matched first. if equal size patterns
|
||||||
|
both match, the first appearing in the schema will be used. -->
|
||||||
|
<!--
|
||||||
|
<dynamicField name="*_i" type="int" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_s" type="string" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_l" type="long" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_t" type="text_general" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_txt" type="text_general" indexed="true" stored="true" multiValued="true"/>
|
||||||
|
<dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_f" type="float" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_d" type="double" indexed="true" stored="true"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Type used to index the lat and lon components for the "location" FieldType -->
|
||||||
|
<!--
|
||||||
|
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false"/>
|
||||||
|
|
||||||
|
<dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_p" type="location" indexed="true" stored="true"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- some trie-coded dynamic fields for faster range queries -->
|
||||||
|
<!--
|
||||||
|
<dynamicField name="*_ti" type="tint" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_tl" type="tlong" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_tf" type="tfloat" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/>
|
||||||
|
<dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/>
|
||||||
|
|
||||||
|
<dynamicField name="*_pi" type="pint" indexed="true" stored="true"/>
|
||||||
|
|
||||||
|
<dynamicField name="ignored_*" type="ignored" multiValued="true"/>
|
||||||
|
<dynamicField name="attr_*" type="text_general" indexed="true" stored="true" multiValued="true"/>
|
||||||
|
|
||||||
|
<dynamicField name="random_*" type="random" />
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- uncomment the following to ignore any fields that don't already match an existing
|
||||||
|
field name or dynamic field, rather than reporting them as an error.
|
||||||
|
alternately, change the type="ignored" to some other type e.g. "text" if you want
|
||||||
|
unknown fields indexed and/or stored by default -->
|
||||||
|
<!--dynamicField name="*" type="ignored" multiValued="true" /-->
|
||||||
|
|
||||||
|
</fields>
|
||||||
|
|
||||||
|
<!-- Field to use to determine and enforce document uniqueness.
|
||||||
|
Unless this field is marked with required="false", it will be a required field
|
||||||
|
-->
|
||||||
|
<uniqueKey>id</uniqueKey>
|
||||||
|
|
||||||
|
<!-- field for the QueryParser to use when an explicit fieldname is absent -->
|
||||||
|
<defaultSearchField>text</defaultSearchField>
|
||||||
|
|
||||||
|
<!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
|
||||||
|
<solrQueryParser defaultOperator="OR"/>
|
||||||
|
|
||||||
|
<!-- copyField commands copy one field to another at the time a document
|
||||||
|
is added to the index. It's used either to index the same field differently,
|
||||||
|
or to add multiple fields to the same field for easier/faster searching. -->
|
||||||
|
|
||||||
|
<copyField source="content" dest="text"/>
|
||||||
|
<copyField source="file_name" dest="text"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Version 1.8 uses the content_str field for regular expression
|
||||||
|
searches so we no longer need to copy into content_ws.
|
||||||
|
|
||||||
|
<copyField source="content" dest="content_ws"/>
|
||||||
|
<copyField source="file_name" dest="content_ws"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Copying of content into content_str field has been removed
|
||||||
|
so that we can perform case insensitive regex searches.
|
||||||
|
The content_str field will be populated directly by Autopsy
|
||||||
|
|
||||||
|
copyField source="content" dest="content_str"/ -->
|
||||||
|
|
||||||
|
<!-- Copy file_name into content_str field for regex searches -->
|
||||||
|
<copyField source="file_name" dest="content_str"/>
|
||||||
|
|
||||||
|
<!-- Above, multiple source fields are copied to the [text] field.
|
||||||
|
Another way to map multiple source fields to the same
|
||||||
|
destination field is to use the dynamic field syntax.
|
||||||
|
copyField also supports a maxChars to copy setting. -->
|
||||||
|
|
||||||
|
<!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
|
||||||
|
|
||||||
|
<!-- copy name to alphaNameSort, a field designed for sorting by name -->
|
||||||
|
<!-- <copyField source="name" dest="alphaNameSort"/> -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Similarity is the scoring routine for each document vs. a query.
|
||||||
|
A custom similarity may be specified here, but the default is fine
|
||||||
|
for most applications. -->
|
||||||
|
<!-- <similarity class="org.apache.lucene.search.DefaultSimilarity"/> -->
|
||||||
|
<!-- ... OR ...
|
||||||
|
Specify a SimilarityFactory class name implementation
|
||||||
|
allowing parameters to be used.
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<similarity class="com.example.solr.CustomSimilarityFactory">
|
||||||
|
<str name="paramkey">param value</str>
|
||||||
|
</similarity>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
</schema>
|
24
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/scripts.conf
Executable file
24
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/scripts.conf
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
|
# this work for additional information regarding copyright ownership.
|
||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
user=
|
||||||
|
solr_hostname=localhost
|
||||||
|
solr_port=9293
|
||||||
|
rsyncd_port=19293
|
||||||
|
data_dir=
|
||||||
|
webapp_name=solr
|
||||||
|
master_host=
|
||||||
|
master_data_dir=
|
||||||
|
master_status_dir=
|
1782
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/solrconfig.xml
Executable file
1782
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/solrconfig.xml
Executable file
File diff suppressed because it is too large
Load Diff
2
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/spellings.txt
Executable file
2
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/spellings.txt
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
pizza
|
||||||
|
history
|
14
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/stopwords.txt
Executable file
14
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/stopwords.txt
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
|
# this work for additional information regarding copyright ownership.
|
||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
54
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/stopwords_en.txt
Executable file
54
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/stopwords_en.txt
Executable file
@ -0,0 +1,54 @@
|
|||||||
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
|
# this work for additional information regarding copyright ownership.
|
||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
# a couple of test stopwords to test that the words are really being
|
||||||
|
# configured from this file:
|
||||||
|
stopworda
|
||||||
|
stopwordb
|
||||||
|
|
||||||
|
# Standard english stop words taken from Lucene's StopAnalyzer
|
||||||
|
a
|
||||||
|
an
|
||||||
|
and
|
||||||
|
are
|
||||||
|
as
|
||||||
|
at
|
||||||
|
be
|
||||||
|
but
|
||||||
|
by
|
||||||
|
for
|
||||||
|
if
|
||||||
|
in
|
||||||
|
into
|
||||||
|
is
|
||||||
|
it
|
||||||
|
no
|
||||||
|
not
|
||||||
|
of
|
||||||
|
on
|
||||||
|
or
|
||||||
|
such
|
||||||
|
that
|
||||||
|
the
|
||||||
|
their
|
||||||
|
then
|
||||||
|
there
|
||||||
|
these
|
||||||
|
they
|
||||||
|
this
|
||||||
|
to
|
||||||
|
was
|
||||||
|
will
|
||||||
|
with
|
31
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/synonyms.txt
Executable file
31
KeywordSearch/solr4/solr/configsets/AutopsyConfig/conf/synonyms.txt
Executable file
@ -0,0 +1,31 @@
|
|||||||
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
# (the "License"); you may not use this file except in compliance with
|
||||||
|
# the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
#some test synonym mappings unlikely to appear in real input text
|
||||||
|
aaafoo => aaabar
|
||||||
|
bbbfoo => bbbfoo bbbbar
|
||||||
|
cccfoo => cccbar cccbaz
|
||||||
|
fooaaa,baraaa,bazaaa
|
||||||
|
|
||||||
|
# Some synonym groups specific to this example
|
||||||
|
GB,gib,gigabyte,gigabytes
|
||||||
|
MB,mib,megabyte,megabytes
|
||||||
|
Television, Televisions, TV, TVs
|
||||||
|
#notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
|
||||||
|
#after us won't split it into two words.
|
||||||
|
|
||||||
|
# Synonym mappings can be used for spelling correction too
|
||||||
|
pixima => pixma
|
||||||
|
|
||||||
|
a\,a => b\,b
|
||||||
|
|
45
KeywordSearch/solr4/solr/solr.xml
Executable file
45
KeywordSearch/solr4/solr/solr.xml
Executable file
@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||||
|
(the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This is an example of a simple "solr.xml" file for configuring one or
|
||||||
|
more Solr Cores, as well as allowing Cores to be added, removed, and
|
||||||
|
reloaded via HTTP requests.
|
||||||
|
|
||||||
|
More information about options available in this configuration file,
|
||||||
|
and Solr Core administration can be found online:
|
||||||
|
http://wiki.apache.org/solr/CoreAdmin
|
||||||
|
-->
|
||||||
|
|
||||||
|
<solr>
|
||||||
|
|
||||||
|
<solrcloud>
|
||||||
|
<str name="host">${host:}</str>
|
||||||
|
<int name="hostPort">${jetty.port:8983}</int>
|
||||||
|
<str name="hostContext">${hostContext:solr}</str>
|
||||||
|
<int name="zkClientTimeout">${zkClientTimeout:30000}</int>
|
||||||
|
<bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
|
||||||
|
</solrcloud>
|
||||||
|
|
||||||
|
<shardHandlerFactory name="shardHandlerFactory"
|
||||||
|
class="HttpShardHandlerFactory">
|
||||||
|
<int name="socketTimeout">${socketTimeout:0}</int>
|
||||||
|
<int name="connTimeout">${connTimeout:0}</int>
|
||||||
|
</shardHandlerFactory>
|
||||||
|
|
||||||
|
</solr>
|
22
KeywordSearch/solr4/solr/zoo.cfg
Executable file
22
KeywordSearch/solr4/solr/zoo.cfg
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
# The number of milliseconds of each tick
|
||||||
|
tickTime=15000
|
||||||
|
# The number of ticks that the initial
|
||||||
|
# synchronization phase can take
|
||||||
|
initLimit=10
|
||||||
|
# The number of ticks that can pass between
|
||||||
|
# sending a request and getting an acknowledgement
|
||||||
|
syncLimit=5
|
||||||
|
|
||||||
|
# the directory where the snapshot is stored.
|
||||||
|
# dataDir=/opt/zookeeper/data
|
||||||
|
# NOTE: Solr defaults the dataDir to <solrHome>/zoo_data
|
||||||
|
|
||||||
|
# the port at which the clients will connect
|
||||||
|
# clientPort=2181
|
||||||
|
# NOTE: Solr sets this based on zkRun / zkHost params
|
||||||
|
|
||||||
|
# Keep a maximum of 3 snapshots around.
|
||||||
|
autopurge.snapRetainCount=3
|
||||||
|
|
||||||
|
# Automatically purge snapshots and transaction logs daily
|
||||||
|
autopurge.purgeInterval=24
|
@ -36,7 +36,7 @@ KeywordSearchResultFactory.createNodeForKey.noResultsFound.text=No results found
|
|||||||
KeywordSearchResultFactory.query.exception.msg=Could not perform the query
|
KeywordSearchResultFactory.query.exception.msg=Could not perform the query
|
||||||
OpenIDE-Module-Display-Category=Ingest Module
|
OpenIDE-Module-Display-Category=Ingest Module
|
||||||
|
|
||||||
OpenIDE-Module-Long-Description=Keyword Search ingest module.\n\nThe module indexes files found in the disk image at ingest time.\nIt then periodically runs the search on the indexed files using one or more keyword lists (containing pure words and/or regular expressions) and posts results.\n\n\The module also contains additional tools integrated in the main GUI, such as keyword list configuration, keyword search bar in the top-right corner, extracted text viewer and search results viewer showing highlighted keywords found.
|
OpenIDE-Module-Long-Description=Keyword Search ingest module.\n\nThe module indexes files found in the disk image at ingest time.\nIt then periodically runs the search on the indexed files using one or more keyword lists (containing pure words and/or regular expressions) and posts results.\n\nThe module also contains additional tools integrated in the main GUI, such as keyword list configuration, keyword search bar in the top-right corner, extracted text viewer and search results viewer showing highlighted keywords found.
|
||||||
OpenIDE-Module-Name=KeywordSearch
|
OpenIDE-Module-Name=KeywordSearch
|
||||||
OptionsCategory_Name_KeywordSearchOptions=Keyword Search
|
OptionsCategory_Name_KeywordSearchOptions=Keyword Search
|
||||||
OptionsCategory_Keywords_KeywordSearchOptions=Keyword Search
|
OptionsCategory_Keywords_KeywordSearchOptions=Keyword Search
|
||||||
|
@ -552,9 +552,9 @@ public class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void start() throws KeywordSearchModuleException, SolrServerNoPortException {
|
void start() throws KeywordSearchModuleException, SolrServerNoPortException {
|
||||||
startSolr8();
|
//startSolr8();
|
||||||
|
|
||||||
//startSolr4();
|
startSolr4();
|
||||||
|
|
||||||
//startSolr8();
|
//startSolr8();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user