<?
xml
version
=
"1.0"
?>
<
schema
name
=
"liferay"
version
=
"1.1"
>
<
types
>
<
fieldType
name
=
"string"
class
=
"solr.StrField"
sortMissingLast
=
"true"
omitNorms
=
"true"
/>
<
fieldType
name
=
"boolean"
class
=
"solr.BoolField"
sortMissingLast
=
"true"
omitNorms
=
"true"
/>
<
fieldType
name
=
"integer"
class
=
"solr.IntField"
omitNorms
=
"true"
/>
<
fieldType
name
=
"long"
class
=
"solr.LongField"
omitNorms
=
"true"
/>
<
fieldType
name
=
"float"
class
=
"solr.FloatField"
omitNorms
=
"true"
/>
<
fieldType
name
=
"double"
class
=
"solr.DoubleField"
omitNorms
=
"true"
/>
<
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"
/>
<
fieldType
name
=
"date"
class
=
"solr.DateField"
sortMissingLast
=
"true"
omitNorms
=
"true"
/>
<
fieldType
name
=
"text_ws"
class
=
"solr.TextField"
positionIncrementGap
=
"100"
>
<
analyzer
>
<
tokenizer
class
=
"solr.WhitespaceTokenizerFactory"
/>
</
analyzer
>
</
fieldType
>
<
fieldType
name
=
"text"
class
=
"solr.TextField"
positionIncrementGap
=
"100"
>
<
analyzer
type
=
"index"
>
<
tokenizer
class
=
"solr.WhitespaceTokenizerFactory"
/>
<
filter
class
=
"solr.StopFilterFactory"
ignoreCase
=
"true"
words
=
"stopwords.txt"
/>
<
filter
class
=
"solr.WordDelimiterFilterFactory"
generateWordParts
=
"1"
generateNumberParts
=
"1"
catenateWords
=
"1"
catenateNumbers
=
"1"
catenateAll
=
"0"
/>
<
filter
class
=
"solr.LowerCaseFilterFactory"
/>
<
filter
class
=
"solr.RemoveDuplicatesTokenFilterFactory"
/>
</
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.txt"
/>
<
filter
class
=
"solr.WordDelimiterFilterFactory"
generateWordParts
=
"1"
generateNumberParts
=
"1"
catenateWords
=
"0"
catenateNumbers
=
"0"
catenateAll
=
"0"
/>
<
filter
class
=
"solr.LowerCaseFilterFactory"
/>
<
filter
class
=
"solr.RemoveDuplicatesTokenFilterFactory"
/>
</
analyzer
>
</
fieldType
>
<
fieldType
name
=
"textTight"
class
=
"solr.TextField"
positionIncrementGap
=
"100"
>
<
analyzer
>
<
tokenizer
class
=
"solr.WhitespaceTokenizerFactory"
/>
<
filter
class
=
"solr.SynonymFilterFactory"
synonyms
=
"synonyms.txt"
ignoreCase
=
"true"
expand
=
"false"
/>
<
filter
class
=
"solr.StopFilterFactory"
ignoreCase
=
"true"
words
=
"stopwords.txt"
/>
<
filter
class
=
"solr.WordDelimiterFilterFactory"
generateWordParts
=
"0"
generateNumberParts
=
"0"
catenateWords
=
"1"
catenateNumbers
=
"1"
catenateAll
=
"0"
/>
<
filter
class
=
"solr.LowerCaseFilterFactory"
/>
<
filter
class
=
"solr.RemoveDuplicatesTokenFilterFactory"
/>
</
analyzer
>
</
fieldType
>
<
fieldType
name
=
"alphaOnlySort"
class
=
"solr.TextField"
sortMissingLast
=
"true"
omitNorms
=
"true"
>
<
analyzer
>
<
tokenizer
class
=
"solr.KeywordTokenizerFactory"
/>
<
filter
class
=
"solr.LowerCaseFilterFactory"
/>
<
filter
class
=
"solr.TrimFilterFactory"
/>
<
filter
class
=
"solr.PatternReplaceFilterFactory"
pattern
=
"([^a-z])"
replacement
=
""
replace
=
"all"
/>
</
analyzer
>
</
fieldType
>
<
fieldtype
name
=
"ignored"
stored
=
"false"
indexed
=
"false"
class
=
"solr.StrField"
/>
</
types
>
<
fields
>
<
field
name
=
"comments"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"content"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"description"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"entryClassPK"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"firstName"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"first-name"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"firstName_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"job-title"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"jobTitle_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"lastName"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"last-name"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"lastName_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"leftOrganizationId"
type
=
"slong"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"name"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"name_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"properties"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"rightOrganizationId"
type
=
"slong"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"screen-name"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"screenName_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"title"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"type"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"type_sortable"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"uid"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"url"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"userName"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"version"
type
=
"string"
indexed
=
"true"
stored
=
"true"
/>
<
field
name
=
"modified"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
dynamicField
name
=
"*CategoryNames"
type
=
"string"
indexed
=
"true"
multiValued
=
"true"
stored
=
"true"
/>
<
dynamicField
name
=
"*CategoryIds"
type
=
"string"
indexed
=
"true"
multiValued
=
"true"
stored
=
"true"
/>
<
dynamicField
name
=
"expando/*"
type
=
"text"
indexed
=
"true"
multiValued
=
"true"
stored
=
"true"
/>
<
dynamicField
name
=
"web_content/*"
type
=
"text"
indexed
=
"true"
stored
=
"true"
/>
<
dynamicField
name
=
"*"
type
=
"string"
indexed
=
"true"
multiValued
=
"true"
stored
=
"true"
omitNorms
=
"false"
/>
</
fields
>
<
copyField
source
=
"firstName"
dest
=
"firstName_sortable"
/>
<
copyField
source
=
"first-name"
dest
=
"firstName_sortable"
/>
<
copyField
source
=
"job-title"
dest
=
"jobTitle_sortable"
/>
<
copyField
source
=
"lastName"
dest
=
"lastName_sortable"
/>
<
copyField
source
=
"last-name"
dest
=
"lastName_sortable"
/>
<
copyField
source
=
"name"
dest
=
"name_sortable"
/>
<
copyField
source
=
"screen-name"
dest
=
"screenName_sortable"
/>
<
copyField
source
=
"type"
dest
=
"type_sortable"
/>
<
uniqueKey
>uid</
uniqueKey
>
<
defaultSearchField
>content</
defaultSearchField
>
<
solrQueryParser
defaultOperator
=
"OR"
/>
</
schema
>