pom.xml
file:
platform
using the var
attribute, and points to a platform configuration in ../conf/platforms/solr/solr.conf:
url (java.lang.String)
http://localhost:8983/solr/collection
- localhost:8983
will not work). If a value for url
is found in the configuration, this will take precedence over other parameters found for protocol
, host
, port
, and collection
.
protocol (java.lang.String)
https
in https://localhost:8983/solr/collection
.http
host (java.lang.String)
localhost
in http://localhost:8983/solr/collection
.
host
as the URI of the Solr Server is deprecated.port (java.lang.String)
8983
in https://localhost:8983/solr/collection
.collection (java.lang.String)
collection
in https://localhost:8983/solr/collection
.
As mentioned above for the host
attribute, if a non-empty value for url
is found in the configuration, this will take precedence over other attributes found for protocol
, host
, port
, and collection
. If no url
attribute is found, and a value for host
is found that begins with http
, https
, file
or /
then this will be taken as the full URL. Finally, if the latter condition is also not met, the URL will be built from attributes protocol
, host
, port
, and collection
if present.
requestHandler (java.lang.String)
requestMethod (java.lang.String)
strategy (java.lang.String)
groupField (java.lang.String)
timeOut (java.lang.Integer)
ignoreAppliedFilters (java.lang.Boolean)
backwardsCompatible (java.lang.Boolean)
highlight (java.lang.Boolean)
name (java.lang.String)
aliases (java.lang.String)
firstnamelastname
as name
and countryofresidence
as country
, use these mappings: aliases="firstnamelastname=name,countryofresidence=country"
defaultQuery (java.lang.String)
:
to bring back all items (for example, for ‘zero term search’).
defaultFacets (java.lang.String)
spellCheck (java.lang.Boolean)
true
expandQuery (java.lang.Boolean)
true
autoCorrect (java.lang.Boolean)
true
fileTypeField (java.lang.String)
resultIDField (java.lang.String)
pageLimit (java.lang.Long)
schema.xml
file is named id. If your uniqueKey is set to a different field highlighting will not work unless you set the resultIDfield key in the Appkit configuration to the right field.
<em></em>
are used. Ensure that this has not been set to something different using hl.simple.pre
and hl.simple.post
settings in the Solr or request handler configurations.