You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Srinivas Kashyap <sr...@bamboorose.com.INVALID> on 2020/02/25 10:30:12 UTC

Solr datePointField facet

Hi all,

I have a date field in my schema and I'm trying to facet on that field and getting below error:

<field name="RELEASE_DATE"  type="date" indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true" />

This field I'm copying to text field(copyfield) as well.

<copyField source="RELEASE_DATE" dest="text" />

Error:
Can't facet on a PointField without docValues

I tried adding like below:

<fieldType name="fdate" class="solr.DatePointField" docValues="true"/>

<field name="RELEASE_DATE"  type="fdate" indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true" />

And after the changes, I did full reindex of the core and restarted as well.

But still facing the same error. Can somebody please help.

Thanks,
Srinivas



________________________________
DISCLAIMER:
E-mails and attachments from Bamboo Rose, LLC are confidential.
If you are not the intended recipient, please notify the sender immediately by replying to the e-mail, and then delete it without making copies or using it in any way.
No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient.

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.

Re: Solr datePointField facet

Posted by Paras Lehana <pa...@indiamart.com>.
Hi Srinivas,

That's not the same error - the previous was regarding docValues. Commit
and restart your Solr and try again.

On Tue, 25 Feb 2020 at 16:58, Srinivas Kashyap
<sr...@bamboorose.com.invalid> wrote:

> Hi Paras,
>
> PFB details:
>
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
> Error from server at http://localhost:8983/tssindex/party: SolrCore is
> loading
>                 at
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)
>                 at
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:235)
>                 at
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:227)
>                 at
> org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)
>                 at
> org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:943)
>                 at
> org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:958)
>
> SCHEMA FILE:
>
> <?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
> -->
>
> <schema name="db" version="1.1">
>   <!-- 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.1" 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 -->
>
>   <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.
>        - StrField and TextField support an optional compressThreshold which
>        limits compression (if enabled in the derived fields) to values
> which
>        exceed a certain size (in characters).
>     -->
>     <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"/>
>
>     <!-- The optional sortMissingLast and sortMissingFirst attributes are
>          currently supported on types that are sorted internally as
> strings.
>        - 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.
>     -->
>
>
>     <!-- 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="integer" class="solr.IntPointField" omitNorms="true"/>
>     <fieldType name="long" class="solr.LongPointField" omitNorms="true"/>
>     <fieldType name="float" class="solr.FloatPointField" omitNorms="true"/>
>     <fieldType name="double" class="solr.DoublePointField"
> omitNorms="true"/>
>
>
>     <!-- 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.IntPointField"
> sortMissingLast="true" omitNorms="true"/>
>     <fieldType name="slong" class="solr.LongPointField"
> sortMissingLast="true" omitNorms="true"/>
>     <fieldType name="sfloat" class="solr.FloatPointField"
> sortMissingLast="true" omitNorms="true"/>
>     <fieldType name="sdouble" class="solr.DoublePointField"
> sortMissingLast="true" omitNorms="true"/>
>
>
>     <!-- 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.
>       -->
>     <fieldType name="date" class="solr.DatePointField"
> sortMissingLast="true" omitNorms="true"/>
>                 <fieldType name="fdate" class="solr.DatePointField"
> docValues="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 psuedo-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 differend 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"/>
>       </analyzer>
>     </fieldType>
>
>     <!-- A text field that uses WordDelimiterFilter to enable splitting
> and matching of
>         words on case-change, alpha numeric boundaries, and
> non-alphanumeric chars,
>         so that a query of "wifi" or "wi fi" could match a document
> containing "Wi-Fi".
>         Synonyms and stopwords are customized by external files, and
> stemming is enabled.
>         Duplicate tokens at the same position (which may result from
> Stemmed Synonyms or
>         WordDelim parts) are removed.
>         -->
>     <fieldType name="text" class="solr.TextField"
> positionIncrementGap="100"  autoGeneratePhraseQueries="false">
>       <analyzer type="index">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <!-- in this example, we will only use synonyms at query time
>         <filter class="solr.SynonymGraphFilterFactory"
> synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
>         -->
>         <!-- filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/ -->
>         <filter class="solr.WordDelimiterGraphFilterFactory"
>
> generateWordParts="1" generateNumberParts="1"
>
> catenateWords="1" catenateNumbers="1" catenateAll="1"
>
> splitOnCaseChange="1" preserveOriginal="1"/>
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <!-- filter class="solr.KeywordMarkerFilterFactory"
> protected="protwords.txt"/ -->
>         <!-- filter class="solr.PorterStemFilterFactory"/ -->
>         <!-- filter class="solr.RemoveDuplicatesTokenFilterFactory"/ -->
>                                 <filter class="solr.NGramFilterFactory"
> minGramSize="1" maxGramSize="15"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <!-- filter class="solr.SynonymGraphFilterFactory"
> synonyms="synonyms.txt" ignoreCase="true" expand="true"/ -->
>         <!-- filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/ -->
>         <!-- filter class="solr.WordDelimiterGraphFilterFactory"
> generateWordParts="1" generateNumberParts="1" catenateWords="0"
> catenateNumbers="0" catenateAll="1" splitOnCaseChange="1"
> preserveOriginal="1"/ -->
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <!-- filter class="solr.KeywordMarkerFilterFactory"
> protected="protwords.txt"/ -->
>                                 <!-- filter
> class="solr.PorterStemFilterFactory"/ -->
>         <!--  filter class="solr.RemoveDuplicatesTokenFilterFactory"/ -->
>       </analyzer>
>     </fieldType>
>
>                 <fieldType name="advText" class="solr.TextField"
> positionIncrementGap="100" autoGeneratePhraseQueries="false">
>       <analyzer type="index">
>         <tokenizer class="solr.KeywordTokenizerFactory"/>
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>                                 <filter class="solr.NGramFilterFactory"
> minGramSize="1" maxGramSize="50"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.KeywordTokenizerFactory"/>
>         <filter class="solr.LowerCaseFilterFactory"/>
>         <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>       </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="textTight" class="solr.TextField"
> positionIncrementGap="100" >
>       <analyzer>
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.SynonymGraphFilterFactory"
> synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>         <filter class="solr.WordDelimiterGraphFilterFactory"
> 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"/>
>         <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>       </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 refrences to portions of the orriginal
>              string matched by the pattern.
>
>              See the Java Regular Expression documentation for more
>              infomation 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>
>
>     <!-- 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"
> class="solr.StrField" />
>
> </types>
>
>
> <fields>
>    <!--- Party document header fields -->
>    <field name="ID"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"
> required="true"  />
>    <field name="DOCUMENT_TYPE"
>               type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"          required="true" default="PARTY"/>
>    <field name="PARTY.OWNER"
>                   type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_ID"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.FUNC_QLFR"
>               type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.GLN"
>                                        type="string"  indexed="true"
> stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_NAME"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.ATTENTION"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_ADDRESS1"            type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_ADDRESS2"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_CITY"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_STATE"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_POSTAL_CODE"                    type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_COUNTRY"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_EMAIL"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_WWW_URL"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_PHONE"
>            type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.PARTY_FAX_NO"
>          type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_SAME_AS_PARTY"       type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_NAME"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_ADDRESS1"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_ADDRESS2"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_CITY"
>    type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_STATE"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_POSTAL_CODE"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_COUNTRY"
>           type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_EMAIL"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_WWW_URL"
>       type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_PHONE"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.STATUS"
>                    type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.MODIFY_TS"
>  type="date"    indexed="true"  stored="false"
> omitTermFreqAndPositions="true"/>
>
>    <!-- Party header description field -->
>    <field name="PARTY.PARTY_COUNTRY_D"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.BILL_COUNTRY_D"            type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY.STATUS_D"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY.FUNC_QLFR_D"
>           type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>
>    <!-- Party Tiered fields -->
>    <field name="PARTY_REL_TIER.PARTY_ID_1"
>
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_1_FUNC_QLFR"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_2"
>
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_2_FUNC_QLFR"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_3"
>
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_3_FUNC_QLFR"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_4"
>
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_4_FUNC_QLFR"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_5"
>
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_5_FUNC_QLFR"
>                                                   type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
>
>    <field name="PARTY_REL_TIER.PARTY_ID_1_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_2_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_3_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_4_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTY_ID_5_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>
>    <field name="PARTY_REL_TIER.AGENT"
>
>             type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.OTHER_PARTY"
>
>                   type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.FACTORY"
>
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>
>    <field name="PARTY_REL_TIER.AGENT_D"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.OTHER_PARTY_D"
>
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.FACTORY_D"
>
>       type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>    <field name="PARTY_REL_TIER.PARTYTIER"
>
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"/>
>
>
>    <!-- Party attachment association fields -->
>    <field name="PARTY_A.ATTACHMENT.LOCATION"
>            type="string"  indexed="false" stored="true" multiValued="true"
> />
>    <field name="PARTY_A.ATTACHMENT.ATTACHMENT_NO"         type="string"
> indexed="false" stored="true" multiValued="true" />
>
>
>    <!-- Docs and conditions association fields -->
>    <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION
> CHANGES IN SOLR PROJECT -->
>    <field name="PARTY_A.DC_B.TYPE"
>                              type="string"  indexed="true" stored="true"
> multiValued="true" />
>    <field name="PARTY_A.DC_B.SUBJECT"
>                         type="string"  indexed="true" stored="true"
> multiValued="true" />
>    <field name="PARTY_A.DC_B.FUNCTION"
>                       type="string"  indexed="true" stored="true"
> multiValued="true" />
>    <field name="PARTY_A.DC_B.DESCRIPTION"
>   type="string"  indexed="true" stored="true" multiValued="true" />
>
>
>    <!-- Market served MARKET_D TABLE fields -->
>    <field name="PARTY.MARKET_D.PERCENTAGE"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"          multiValued="true"/>
>    <field name="PARTY.MARKET_D.MARKET_CODE"          type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"
> multiValued="true"/>
>
>    <field name="PARTY.MARKET_D.MARKET_CODE_D"    type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"
> multiValued="true"/>
>
>
>    <!-- Capability CAPABILITY_D TABLE fields -->
>    <field name="PARTY.CAPABILITY_D.CAPABILITY_CODE"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>
>    <field name="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>
>    <!-- CATE_HIERARCHY_D TABLE fields -->
>    <field name="PARTY.CATE_HIERARCHY_D.ID"
>                   type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.DEPT"
>               type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.CATEGORY"
>       type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"      type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"
> multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.ROW_NO"
>        type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>
>    <field name="PARTY.CATE_HIERARCHY_D.DEPT_D"
>           type="string"   indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.CATEGORY_D"
>    type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D" type="string"
> indexed="true"  stored="true"  omitTermFreqAndPositions="true"
> multiValued="true"/>
>
>    <!--  CATE_HIERARCHY_D attachment Notes fields -->
>    <field name="CATE_HIERARCHY_D_A.NOTES.KEYWORD"
> type="string"  indexed="false" stored="true" multiValued="true" />
>
>
>    <!-- COMPETENCY_D TABLE fields -->
>    <field name="PARTY.COMPETENCY_D.COMPETENCY_D_ID"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.PRODUCT_GROUP"
>                type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MACHINE_CODE"
>                   type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.CAPABILITY_CODE"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MATERIAL_FINISH"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"
>           type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>
>    <field name="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"
>  type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"
>          type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MACHINE_CODE_D"
>                type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>    <field name="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"
> type="string"  indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true"/>
>
>    <!-- COMPETENCY_D TABLE fields -->
>    <field name="PARTY.CAPACITY_D.RELEASE_DATE"
>                             type="fdate" docValues="true"  indexed="true"
> stored="true"  omitTermFreqAndPositions="true"  multiValued="true" />
>
>
>    <!-- Advance search fields -->
>    <field name="PARTY"
>                                              type="string"  indexed="true"
> stored="false" multiValued="true"        />
>    <field name="PARTY_LIKE"
>                                       type="advText" indexed="true"
> stored="false" multiValued="true"          />
>    <field name="FUNC_QLFR"
>                                       type="string"  indexed="true"
> stored="false" multiValued="true"        />
>    <field name="FUNC_QLFR_LIKE"
>                                type="advText" indexed="true"
> stored="false" multiValued="true"          />
>    <field name="Party_Relation_Tiered"
>  type="string"  indexed="true"  stored="false" multiValued="true"        />
>    <field name="Party_Relation_Tiered_LIKE"
>  type="advText" indexed="true"  stored="false" multiValued="true"        />
>    <field name="Competency"
>                                      type="string"  indexed="true"
> stored="false" multiValued="true"        />
>    <field name="Competency_LIKE"
>                 type="advText" indexed="true"  stored="false"
> multiValued="true"        />
>    <field name="Capacity"
>                                            type="text"  indexed="true"
> stored="false" multiValued="true"        />
>    <field name="Capacity_LIKE"
>                       type="advText" indexed="true"  stored="false"
> multiValued="true"        />
>    <field name="Product_Hierarchy"
>                 type="string"  indexed="true"  stored="false"
> multiValued="true"        />
>    <field name="Product_Hierarchy_LIKE"
>           type="advText" indexed="true"  stored="false" multiValued="true"
>       />
>    <field name="Production_Capabilities"
> type="string"  indexed="true"  stored="false" multiValued="true"        />
>    <field name="Production_Capabilities_LIKE"    type="advText"
> indexed="true"  stored="false" multiValued="true"                />
>    <field name="Market_Served"
>                     type="string"  indexed="true"  stored="false"
> multiValued="true"        />
>    <field name="Market_Served_LIKE"
>             type="advText" indexed="true"  stored="false"
> multiValued="true"        />
>    <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION
> CHANGES IN SOLR PROJECT -->
>    <field name="Docs_and_Conditions"
> type="string"  indexed="true"  stored="false" multiValued="true"        />
>    <field name="Docs_and_Conditions_LIKE"
> type="advText" indexed="true"  stored="false" multiValued="true"        />
>
>    <!-- Advance search fields ends here-->
>
>    <field name="word" type="string" indexed="true" stored="true"/>
>    <field name="text" type="text" indexed="true" stored="false"
> multiValued="true"/>
>    <field name="manu_exact" type="string" indexed="true" stored="false"/>
>    <field name="timestamp" type="date" indexed="true" stored="true"
> default="NOW" multiValued="false"/>
>
>    <dynamicField name="*_i"  type="sint"    indexed="true"  stored="true"/>
>    <dynamicField name="*_s"  type="string"  indexed="true"  stored="true"/>
>    <dynamicField name="*_l"  type="slong"   indexed="true"  stored="true"/>
>    <dynamicField name="*_t"  type="text"    indexed="true"  stored="true"/>
>    <dynamicField name="*_b"  type="boolean" indexed="true"  stored="true"/>
>    <dynamicField name="*_f"  type="sfloat"  indexed="true"  stored="true"/>
>    <dynamicField name="*_d"  type="sdouble" indexed="true"  stored="true"/>
>    <dynamicField name="*_dt" type="date"    indexed="true"  stored="true"/>
>    <dynamicField name="random*" type="random" />
>
>    <field name="_version_" type="long" indexed="true" stored="true"
> multiValued="false"/>
> </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="id" dest="sku"/>
>     -->
>
>
>                 <copyField source="PARTY.PARTY_ID"
>
>                 dest="text"
>                                  />
>                 <copyField source="PARTY.FUNC_QLFR"
>
>                            dest="text"
>                                                   />
>                 <copyField source="PARTY.FUNC_QLFR_D"
>
>         dest="text"
>                                        />
>                 <copyField source="PARTY.PARTY_NAME"
>
>          dest="text"
>                                        />
>                 <copyField source="PARTY.PARTY_COUNTRY"
>
> dest="text"
>                         />
>                 <copyField source="PARTY.PARTY_COUNTRY_D"
>
>  dest="text"
>                                 />
>                 <copyField source="PARTY.ATTENTION"
>
>             dest="text"
>                                            />
>                 <copyField source="PARTY.STATUS"
>
>                   dest="text"
>                                                   />
>                 <copyField source="PARTY.STATUS_D"
>
>               dest="text"
>                                              />
>                 <copyField source="PARTY.BILL_WWW_URL"
>
>      dest="text"
>                                     />
>                 <copyField source="PARTY_A.DC_B.TYPE"
>
>           dest="text"
>                                          />
>                 <copyField source="PARTY_A.DC_B.SUBJECT"
>
>  dest="text"
>                         />
>                 <copyField source="PARTY_A.DC_B.FUNCTION"
>                                                                dest="text"
>
>           />
>                 <copyField source="PARTY_A.DC_B.DESCRIPTION"
>                                                              dest="text"
>
>         />
>
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1"
>                                                             dest="text"
>                                                                      />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"
>                                                         dest="text"
>
>     />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2"
>                                                             dest="text"
>                                                                      />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"
>                                                         dest="text"
>
>     />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3"
>                                                             dest="text"
>                                                                      />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"
>                                                         dest="text"
>
>     />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4"
>                                                             dest="text"
>                                                                      />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"
>                                                         dest="text"
>
>     />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5"
>                                                             dest="text"
>                                                                      />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"
>                                                         dest="text"
>
>     />
>
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"
>                                           dest="text"
>                                                                   />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"
>                                        dest="text"
>                                                               />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"
>                      dest="text"
>                                             />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"
>                   dest="text"
>                                          />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"
>                                             dest="text"
>                                                                     />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"
>                          dest="text"
>                                                />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"
>                             dest="text"
>                                                     />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"
>                                         dest="text"
>                                                                 />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"
>                              dest="text"
>                                                     />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"
>                          dest="text"
>                                                />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"
>                    dest="text"
>                                           />
>                 <copyField
> source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"
> dest="text"
>                        />
>
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"
>                                        dest="text"
>                                                               />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"
>                                                    dest="text"
>                                                                           />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"
>                                 dest="text"
>                                                         />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"
>                             dest="text"
>                                                    />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"
>                          dest="text"
>                                                 />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"
>                       dest="text"
>                                              />
>                 <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"
>                              dest="text"
>                                                    />
>
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"
>                                  dest="text"
>                                                         />
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"
>               dest="text"
>                                      />
>
>                 <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"
>                                                      dest="text"
>
> />
>
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE"
>                                                      dest="text"
>
> />
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE_D"
>                                                  dest="text"
>                                                                         />
>
>                 <!-- copy to search fields -->
>
>                 <copyField source="PARTY.PARTY_ID"
>
>                 dest="PARTY"
>                                                  />
>                 <copyField source="PARTY.PARTY_NAME"
>
>          dest="PARTY"
>                                          />
>                 <copyField source="PARTY.ATTENTION"
>
>             dest="PARTY"
>                                            />
>                 <copyField source="PARTY.PARTY_COUNTRY"
>
> dest="PARTY"
>                    />
>                 <copyField source="PARTY.PARTY_COUNTRY_D"
>
>  dest="PARTY"
>                                  />
>                 <copyField source="PARTY.STATUS"
>
>                   dest="PARTY"
>                                                  />
>                 <copyField source="PARTY.STATUS_D"
>
>               dest="PARTY"
>                                              />
>                 <copyField source="PARTY.BILL_WWW_URL"
>
>      dest="PARTY"
>                                      />
>                 <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS &
> CONDITION CHANGES IN SOLR PROJECT -->
> <!--         <copyField source="PARTY_A.DC_B.TYPE"
>
>         dest="PARTY"
>                                        /> -->
> <!--         <copyField source="PARTY_A.DC_B.SUBJECT"
>
>  dest="PARTY"
>                      />           -->
> <!--         <copyField source="PARTY_A.DC_B.FUNCTION"
>                                                              dest="PARTY"
>
>      />                           -->
> <!--         <copyField source="PARTY_A.DC_B.DESCRIPTION"
>                                                          dest="PARTY"
>
>  /> -->
>
>                 <copyField source="PARTY.FUNC_QLFR"
>
>                            dest="FUNC_QLFR"
>                                         />
>                 <copyField source="PARTY.FUNC_QLFR_D"
>
>         dest="FUNC_QLFR"
>                    />
>
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5"
>
> dest="Party_Relation_Tiered"                    />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"
>
> dest="Party_Relation_Tiered"                    />
>
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"
>                                           dest="Competency"
>                                                                 />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"
>                                        dest="Competency"
>                                                            />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"
>                      dest="Competency"
>                                  />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"
>                   dest="Competency"
>                                />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"
>                                             dest="Competency"
>                                                                   />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"
>                          dest="Competency"
>                                      />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"
>                             dest="Competency"
>                                          />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"
>                                         dest="Competency"
>                                                               />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"
>                              dest="Competency"
>                                          />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"
>                          dest="Competency"
>                                      />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"
>                    dest="Competency"
>                                />
>                 <copyField
> source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"
> dest="Competency"
>              />
>
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"
>                                        dest="Product_Hierarchy"
>                                     />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"
>
>  dest="Product_Hierarchy"                                          />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"
>                                 dest="Product_Hierarchy"
>                             />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"
>                             dest="Product_Hierarchy"
>                        />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"
>                          dest="Product_Hierarchy"
>                       />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"
>                       dest="Product_Hierarchy"
>                  />
>                 <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"
>                              dest="Product_Hierarchy"
>                          />
>
>                 <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"
>                                                      dest="Capacity"
>                                                                          />
>
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"
>                                  dest="Production_Capabilities"
>      />
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"
>               dest="Production_Capabilities"                 />
>
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE"
>                                                      dest="Market_Served"
>                                                />
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE_D"
>                                                  dest="Market_Served"
>                                           />
>
>                 <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS &
> CONDITION CHANGES IN SOLR PROJECT -->
>                 <copyField source="PARTY_A.DC_B.TYPE"
>
>           dest="Docs_and_Conditions"                                    />
>                 <copyField source="PARTY_A.DC_B.SUBJECT"
>
>  dest="Docs_and_Conditions"                                     />
>                 <copyField source="PARTY_A.DC_B.FUNCTION"
>
>  dest="Docs_and_Conditions"                                    />
>                 <copyField source="PARTY_A.DC_B.DESCRIPTION"
>
>  dest="Docs_and_Conditions"                                     />
>
>                 <!-- copy to search like fields -->
>
>                 <copyField source="PARTY.PARTY_ID"
>
>                 dest="PARTY_LIKE"
>                                />
>                 <copyField source="PARTY.PARTY_NAME"
>
>          dest="PARTY_LIKE"
>                       />
>                 <copyField source="PARTY.ATTENTION"
>
>             dest="PARTY_LIKE"
>                            />
>                 <copyField source="PARTY.PARTY_COUNTRY"
>
> dest="PARTY_LIKE"
>                        />
>                 <copyField source="PARTY.PARTY_COUNTRY_D"
>
>  dest="PARTY_LIKE"
>                />
>                 <copyField source="PARTY.STATUS"
>
>                   dest="PARTY_LIKE"
>                                  />
>                 <copyField source="PARTY.STATUS_D"
>
>               dest="PARTY_LIKE"
>                              />
>                 <copyField source="PARTY.BILL_WWW_URL"
>
>      dest="PARTY_LIKE"
>                    />
>                 <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS &
> CONDITION CHANGES IN SOLR PROJECT -->
> <!--         <copyField source="PARTY_A.DC_B.TYPE"
>
>         dest="PARTY_LIKE"
>                       /> -->
> <!--         <copyField source="PARTY_A.DC_B.SUBJECT"
>
>  dest="PARTY_LIKE"
>                       />           -->
> <!--         <copyField source="PARTY_A.DC_B.FUNCTION"
>
>  dest="PARTY_LIKE"
>                      />                           -->
> <!--         <copyField source="PARTY_A.DC_B.DESCRIPTION"
>                                                          dest="PARTY_LIKE"
>
>   />           -->
>
>                 <copyField source="PARTY.FUNC_QLFR"
>
>                            dest="FUNC_QLFR_LIKE"
>                                   />
>                 <copyField source="PARTY.FUNC_QLFR_D"
>
>         dest="FUNC_QLFR_LIKE"
>                />
>
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5"
>
> dest="Party_Relation_Tiered_LIKE"         />
>                 <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"
>
> dest="Party_Relation_Tiered_LIKE"         />
>
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"
>                                           dest="Competency_LIKE"
>                                                 />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"
>                                        dest="Competency_LIKE"
>                                              />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"
>                      dest="Competency_LIKE"
>                                 />
>                 <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"
>                   dest="Competency_LIKE"
>                             />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"
>                                             dest="Competency_LIKE"
>                                                   />
>                 <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"
>                          dest="Competency_LIKE"
>                                     />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"
>                             dest="Competency_LIKE"
>                                       />
>                 <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"
>                                         dest="Competency_LIKE"
>                                               />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"
>                              dest="Competency_LIKE"
>                                         />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"
>                          dest="Competency_LIKE"
>                                     />
>                 <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"
>                    dest="Competency_LIKE"
>                               />
>                 <copyField
> source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"
> dest="Competency_LIKE"
>           />
>
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"
>                                        dest="Product_Hierarchy_LIKE"
>         />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"
>
>  dest="Product_Hierarchy_LIKE"                />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"
>                                 dest="Product_Hierarchy_LIKE"
>   />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"
>                             dest="Product_Hierarchy_LIKE"                />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"
>                          dest="Product_Hierarchy_LIKE"                />
>                 <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"
>                       dest="Product_Hierarchy_LIKE"                />
>                 <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"
>                              dest="Product_Hierarchy_LIKE"
>               />
>
>                 <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"
>                                                      dest="Capacity_LIKE"
>                                                               />
>
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"
>                                  dest="Production_Capabilities_LIKE"      />
>                 <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"
>               dest="Production_Capabilities_LIKE"                />
>
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE"
>
>  dest="Market_Served_LIKE"                                       />
>                 <copyField source="PARTY.MARKET_D.MARKET_CODE_D"
>                                                  dest="Market_Served_LIKE"
>                                     />
>
>                 <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS &
> CONDITION CHANGES IN SOLR PROJECT -->
>                 <copyField source="PARTY_A.DC_B.TYPE"
>
>           dest="Docs_and_Conditions_LIKE"                         />
>                 <copyField source="PARTY_A.DC_B.SUBJECT"
>
>  dest="Docs_and_Conditions_LIKE"                          />
>                 <copyField source="PARTY_A.DC_B.FUNCTION"
>
>  dest="Docs_and_Conditions_LIKE"                         />
>                 <copyField source="PARTY_A.DC_B.DESCRIPTION"
>
>  dest="Docs_and_Conditions_LIKE"                          />
>
> <!-- 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"/> -->
>
> </schema>
>
>
>
> Thanks and Regards,
> Srinivas Kashyap
>
> From: Paras Lehana <pa...@indiamart.com>
> Sent: 25 February 2020 16:33
> To: solr-user@lucene.apache.org
> Subject: Re: Solr datePointField facet
>
> Hi Srinivas,
>
> But still facing the same error.
>
>
> The same error? Can you please post the facet query? Please post (part of)
> your schema too.
>
> On Tue, 25 Feb 2020 at 16:00, Srinivas Kashyap
> <sr...@bamboorose.com.invalid>>
> wrote:
>
> > Hi all,
> >
> > I have a date field in my schema and I'm trying to facet on that field
> and
> > getting below error:
> >
> > <field name="RELEASE_DATE" type="date" indexed="true" stored="true"
> > omitTermFreqAndPositions="true" multiValued="true" />
> >
> > This field I'm copying to text field(copyfield) as well.
> >
> > <copyField source="RELEASE_DATE" dest="text" />
> >
> > Error:
> > Can't facet on a PointField without docValues
> >
> > I tried adding like below:
> >
> > <fieldType name="fdate" class="solr.DatePointField" docValues="true"/>
> >
> > <field name="RELEASE_DATE" type="fdate" indexed="true" stored="true"
> > omitTermFreqAndPositions="true" multiValued="true" />
> >
> > And after the changes, I did full reindex of the core and restarted as
> > well.
> >
> > But still facing the same error. Can somebody please help.
> >
> > Thanks,
> > Srinivas
> >
> >
> >
> > ________________________________
> > DISCLAIMER:
> > E-mails and attachments from Bamboo Rose, LLC are confidential.
> > If you are not the intended recipient, please notify the sender
> > immediately by replying to the e-mail, and then delete it without making
> > copies or using it in any way.
> > No representation is made that this email or any attachments are free of
> > viruses. Virus scanning is recommended and is the responsibility of the
> > recipient.
> >
> > Disclaimer
> >
> > The information contained in this communication from the sender is
> > confidential. It is intended solely for use by the recipient and others
> > authorized to receive it. If you are not the recipient, you are hereby
> > notified that any disclosure, copying, distribution or taking action in
> > relation of the contents of this information is strictly prohibited and
> may
> > be unlawful.
> >
> > This email has been scanned for viruses and malware, and may have been
> > automatically archived by Mimecast Ltd, an innovator in Software as a
> > Service (SaaS) for business. Providing a safer and more useful place for
> > your human generated data. Specializing in; Security, archiving and
> > compliance. To find out more visit the Mimecast website.
> >
>
>
> --
> --
> Regards,
>
> *Paras Lehana* [65871]
> Development Engineer, *Auto-Suggest*,
> IndiaMART InterMESH Ltd,
>
> 11th Floor, Tower 2, Assotech Business Cresterra,
> Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305
>
> Mob.: +91-9560911996
> Work: 0120-4056700 | Extn:
> *11096*
>
> --
> *
> *
>
> <https://www.facebook.com/IndiaMART/videos/578196442936091/<
> https://www.facebook.com/IndiaMART/videos/578196442936091/>>
>
> Disclaimer
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and may
> be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by Mimecast Ltd, an innovator in Software as a
> Service (SaaS) for business. Providing a safer and more useful place for
> your human generated data. Specializing in; Security, archiving and
> compliance. To find out more visit the Mimecast website.
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*1196*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>

RE: Solr datePointField facet

Posted by Srinivas Kashyap <sr...@bamboorose.com.INVALID>.
Hi Paras,

PFB details:

org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/tssindex/party: SolrCore is loading
                at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)
                at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:235)
                at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:227)
                at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)
                at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:943)
                at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:958)

SCHEMA FILE:

<?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
-->

<schema name="db" version="1.1">
  <!-- 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.1" 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 -->

  <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.
       - StrField and TextField support an optional compressThreshold which
       limits compression (if enabled in the derived fields) to values which
       exceed a certain size (in characters).
    -->
    <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"/>

    <!-- The optional sortMissingLast and sortMissingFirst attributes are
         currently supported on types that are sorted internally as strings.
       - 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.
    -->


    <!-- 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="integer" class="solr.IntPointField" omitNorms="true"/>
    <fieldType name="long" class="solr.LongPointField" omitNorms="true"/>
    <fieldType name="float" class="solr.FloatPointField" omitNorms="true"/>
    <fieldType name="double" class="solr.DoublePointField" omitNorms="true"/>


    <!-- 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.IntPointField" sortMissingLast="true" omitNorms="true"/>
    <fieldType name="slong" class="solr.LongPointField" sortMissingLast="true" omitNorms="true"/>
    <fieldType name="sfloat" class="solr.FloatPointField" sortMissingLast="true" omitNorms="true"/>
    <fieldType name="sdouble" class="solr.DoublePointField" sortMissingLast="true" omitNorms="true"/>


    <!-- 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.
      -->
    <fieldType name="date" class="solr.DatePointField" sortMissingLast="true" omitNorms="true"/>
                <fieldType name="fdate" class="solr.DatePointField" docValues="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 psuedo-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 differend 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"/>
      </analyzer>
    </fieldType>

    <!-- A text field that uses WordDelimiterFilter to enable splitting and matching of
        words on case-change, alpha numeric boundaries, and non-alphanumeric chars,
        so that a query of "wifi" or "wi fi" could match a document containing "Wi-Fi".
        Synonyms and stopwords are customized by external files, and stemming is enabled.
        Duplicate tokens at the same position (which may result from Stemmed Synonyms or
        WordDelim parts) are removed.
        -->
    <fieldType name="text" class="solr.TextField" positionIncrementGap="100"  autoGeneratePhraseQueries="false">
      <analyzer type="index">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <!-- in this example, we will only use synonyms at query time
        <filter class="solr.SynonymGraphFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
        -->
        <!-- filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/ -->
        <filter class="solr.WordDelimiterGraphFilterFactory"
                                                                generateWordParts="1" generateNumberParts="1"
                                                                catenateWords="1" catenateNumbers="1" catenateAll="1"
                                                                splitOnCaseChange="1" preserveOriginal="1"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <!-- filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/ -->
        <!-- filter class="solr.PorterStemFilterFactory"/ -->
        <!-- filter class="solr.RemoveDuplicatesTokenFilterFactory"/ -->
                                <filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="15"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <!-- filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/ -->
        <!-- filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/ -->
        <!-- filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="1" splitOnCaseChange="1" preserveOriginal="1"/ -->
        <filter class="solr.LowerCaseFilterFactory"/>
        <!-- filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/ -->
                                <!-- filter class="solr.PorterStemFilterFactory"/ -->
        <!--  filter class="solr.RemoveDuplicatesTokenFilterFactory"/ -->
      </analyzer>
    </fieldType>

                <fieldType name="advText" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
      <analyzer type="index">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
                                <filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="50"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.KeywordTokenizerFactory"/>
        <filter class="solr.LowerCaseFilterFactory"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </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="textTight" class="solr.TextField" positionIncrementGap="100" >
      <analyzer>
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
        <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
        <filter class="solr.WordDelimiterGraphFilterFactory" 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"/>
        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
      </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 refrences to portions of the orriginal
             string matched by the pattern.

             See the Java Regular Expression documentation for more
             infomation 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>

    <!-- 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" class="solr.StrField" />

</types>


<fields>
   <!--- Party document header fields -->
   <field name="ID"                                                                                                          type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"          required="true"  />
   <field name="DOCUMENT_TYPE"                                                          type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"          required="true" default="PARTY"/>
   <field name="PARTY.OWNER"                                                                type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_ID"                                             type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.FUNC_QLFR"                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.GLN"                                                                                       type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_NAME"                                     type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.ATTENTION"                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_ADDRESS1"            type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_ADDRESS2"                            type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_CITY"                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_STATE"                                     type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_POSTAL_CODE"                    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_COUNTRY"                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_EMAIL"                                    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_WWW_URL"                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_PHONE"                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.PARTY_FAX_NO"                                                 type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_SAME_AS_PARTY"       type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_NAME"                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_ADDRESS1"                                 type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_ADDRESS2"                                 type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_CITY"                                             type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_STATE"                                          type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_POSTAL_CODE"                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_COUNTRY"                                                  type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_EMAIL"                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_WWW_URL"                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_PHONE"                                       type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.STATUS"                                                                 type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.MODIFY_TS"                                         type="date"    indexed="true"  stored="false" omitTermFreqAndPositions="true"/>

   <!-- Party header description field -->
   <field name="PARTY.PARTY_COUNTRY_D"                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.BILL_COUNTRY_D"            type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.STATUS_D"                                           type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY.FUNC_QLFR_D"                                                  type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>

   <!-- Party Tiered fields -->
   <field name="PARTY_REL_TIER.PARTY_ID_1"                                                                                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_1_FUNC_QLFR"                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_2"                                                                                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_2_FUNC_QLFR"                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_3"                                                                                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_3_FUNC_QLFR"                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_4"                                                                                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_4_FUNC_QLFR"                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_5"                                                                                                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_5_FUNC_QLFR"                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>

   <field name="PARTY_REL_TIER.PARTY_ID_1_D"                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_2_D"                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_3_D"                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_4_D"                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTY_ID_5_D"                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>

   <field name="PARTY_REL_TIER.AGENT"                                                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.OTHER_PARTY"                                                                                                                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.FACTORY"                                                                                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>

   <field name="PARTY_REL_TIER.AGENT_D"                                                                                                        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.OTHER_PARTY_D"                                                                                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.FACTORY_D"                                                                                                                    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>
   <field name="PARTY_REL_TIER.PARTYTIER"                                                                                                      type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"/>


   <!-- Party attachment association fields -->
   <field name="PARTY_A.ATTACHMENT.LOCATION"                                         type="string"  indexed="false" stored="true" multiValued="true" />
   <field name="PARTY_A.ATTACHMENT.ATTACHMENT_NO"         type="string"  indexed="false" stored="true" multiValued="true" />


   <!-- Docs and conditions association fields -->
   <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
   <field name="PARTY_A.DC_B.TYPE"                                                                     type="string"  indexed="true" stored="true" multiValued="true" />
   <field name="PARTY_A.DC_B.SUBJECT"                                                              type="string"  indexed="true" stored="true" multiValued="true" />
   <field name="PARTY_A.DC_B.FUNCTION"                                                          type="string"  indexed="true" stored="true" multiValued="true" />
   <field name="PARTY_A.DC_B.DESCRIPTION"                                    type="string"  indexed="true" stored="true" multiValued="true" />


   <!-- Market served MARKET_D TABLE fields -->
   <field name="PARTY.MARKET_D.PERCENTAGE"                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"          multiValued="true"/>
   <field name="PARTY.MARKET_D.MARKET_CODE"          type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <field name="PARTY.MARKET_D.MARKET_CODE_D"    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>


   <!-- Capability CAPABILITY_D TABLE fields -->
   <field name="PARTY.CAPABILITY_D.CAPABILITY_CODE"              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <field name="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <!-- CATE_HIERARCHY_D TABLE fields -->
   <field name="PARTY.CATE_HIERARCHY_D.ID"                                                  type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.DEPT"                                            type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.CATEGORY"                                type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"      type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.ROW_NO"                                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <field name="PARTY.CATE_HIERARCHY_D.DEPT_D"                                      type="string"   indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.CATEGORY_D"                           type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D" type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <!--  CATE_HIERARCHY_D attachment Notes fields -->
   <field name="CATE_HIERARCHY_D_A.NOTES.KEYWORD"            type="string"  indexed="false" stored="true" multiValued="true" />


   <!-- COMPETENCY_D TABLE fields -->
   <field name="PARTY.COMPETENCY_D.COMPETENCY_D_ID"                      type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.PRODUCT_GROUP"                                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"                  type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MACHINE_CODE"                                            type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.CAPABILITY_CODE"                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MATERIAL_FINISH"                         type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"                              type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <field name="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"                   type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"                             type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MACHINE_CODE_D"                                       type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"                    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"                    type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>
   <field name="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"        type="string"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true"/>

   <!-- COMPETENCY_D TABLE fields -->
   <field name="PARTY.CAPACITY_D.RELEASE_DATE"                                                        type="fdate" docValues="true"  indexed="true"  stored="true"  omitTermFreqAndPositions="true"  multiValued="true" />


   <!-- Advance search fields -->
   <field name="PARTY"                                                                                                 type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="PARTY_LIKE"                                                                                      type="advText" indexed="true"  stored="false" multiValued="true"          />
   <field name="FUNC_QLFR"                                                                                      type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="FUNC_QLFR_LIKE"                                                                           type="advText" indexed="true"  stored="false" multiValued="true"          />
   <field name="Party_Relation_Tiered"                                 type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Party_Relation_Tiered_LIKE"                       type="advText" indexed="true"  stored="false" multiValued="true"        />
   <field name="Competency"                                                                                     type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Competency_LIKE"                                                          type="advText" indexed="true"  stored="false" multiValued="true"        />
   <field name="Capacity"                                                                                             type="text"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Capacity_LIKE"                                                                  type="advText" indexed="true"  stored="false" multiValued="true"        />
   <field name="Product_Hierarchy"                                                        type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Product_Hierarchy_LIKE"                                              type="advText" indexed="true"  stored="false" multiValued="true"        />
   <field name="Production_Capabilities"                              type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Production_Capabilities_LIKE"    type="advText" indexed="true"  stored="false" multiValued="true"                />
   <field name="Market_Served"                                                                type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Market_Served_LIKE"                                                    type="advText" indexed="true"  stored="false" multiValued="true"        />
   <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
   <field name="Docs_and_Conditions"                                  type="string"  indexed="true"  stored="false" multiValued="true"        />
   <field name="Docs_and_Conditions_LIKE"                        type="advText" indexed="true"  stored="false" multiValued="true"        />

   <!-- Advance search fields ends here-->

   <field name="word" type="string" indexed="true" stored="true"/>
   <field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
   <field name="manu_exact" type="string" indexed="true" stored="false"/>
   <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>

   <dynamicField name="*_i"  type="sint"    indexed="true"  stored="true"/>
   <dynamicField name="*_s"  type="string"  indexed="true"  stored="true"/>
   <dynamicField name="*_l"  type="slong"   indexed="true"  stored="true"/>
   <dynamicField name="*_t"  type="text"    indexed="true"  stored="true"/>
   <dynamicField name="*_b"  type="boolean" indexed="true"  stored="true"/>
   <dynamicField name="*_f"  type="sfloat"  indexed="true"  stored="true"/>
   <dynamicField name="*_d"  type="sdouble" indexed="true"  stored="true"/>
   <dynamicField name="*_dt" type="date"    indexed="true"  stored="true"/>
   <dynamicField name="random*" type="random" />

   <field name="_version_" type="long" indexed="true" stored="true" multiValued="false"/>
</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="id" dest="sku"/>
    -->


                <copyField source="PARTY.PARTY_ID"                                                                                                                    dest="text"                                                                                 />
                <copyField source="PARTY.FUNC_QLFR"                                                                                                                               dest="text"                                                                                        />
                <copyField source="PARTY.FUNC_QLFR_D"                                                                                                          dest="text"                                                                                               />
                <copyField source="PARTY.PARTY_NAME"                                                                                                           dest="text"                                                                                               />
                <copyField source="PARTY.PARTY_COUNTRY"                                                                                    dest="text"                                                                                        />
                <copyField source="PARTY.PARTY_COUNTRY_D"                                                                                               dest="text"                                                                                                />
                <copyField source="PARTY.ATTENTION"                                                                                                                dest="text"                                                                                               />
                <copyField source="PARTY.STATUS"                                                                                                                        dest="text"                                                                                                />
                <copyField source="PARTY.STATUS_D"                                                                                                                  dest="text"                                                                                               />
                <copyField source="PARTY.BILL_WWW_URL"                                                                                                     dest="text"                                                                                                />
                <copyField source="PARTY_A.DC_B.TYPE"                                                                                                            dest="text"                                                                                               />
                <copyField source="PARTY_A.DC_B.SUBJECT"                                                                                     dest="text"                                                                                        />
                <copyField source="PARTY_A.DC_B.FUNCTION"                                                                                 dest="text"                                                                                        />
                <copyField source="PARTY_A.DC_B.DESCRIPTION"                                                                           dest="text"                                                                                        />

                <copyField source="PARTY_REL_TIER.PARTY_ID_1"                                                                          dest="text"                                                                         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"                                                                    dest="text"                                                                                        />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2"                                                                          dest="text"                                                                         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"                                                                    dest="text"                                                                                        />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3"                                                                          dest="text"                                                                         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"                                                                    dest="text"                                                                                        />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4"                                                                          dest="text"                                                                         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"                                                                    dest="text"                                                                                        />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5"                                                                          dest="text"                                                                         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"                                                                    dest="text"                                                                                        />

                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"                                                dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"                                           dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"                         dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"                    dest="text"                                                                                       />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"                                                dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"                           dest="text"                                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"                                    dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"                                              dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"                                 dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"                           dest="text"                                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"                     dest="text"                                                                                        />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"                dest="text"                                                                                       />

                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"                                                   dest="text"                                                                                        />
                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"                                                             dest="text"                                                                                        />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"                                        dest="text"                                                                                        />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"                                  dest="text"                                                                                       />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"                             dest="text"                                                                                        />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"                        dest="text"                                                                                       />
                <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"                                   dest="text"                                                                                       />

                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"                                     dest="text"                                                                                        />
                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"                dest="text"                                                                                       />

                <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"                                                               dest="text"                                                                                        />

                <copyField source="PARTY.MARKET_D.MARKET_CODE"                                                                 dest="text"                                                                                        />
                <copyField source="PARTY.MARKET_D.MARKET_CODE_D"                                                           dest="text"                                                                                        />

                <!-- copy to search fields -->

                <copyField source="PARTY.PARTY_ID"                                                                                                                    dest="PARTY"                                                                                                 />
                <copyField source="PARTY.PARTY_NAME"                                                                                                           dest="PARTY"                                                                                               />
                <copyField source="PARTY.ATTENTION"                                                                                                                dest="PARTY"                                                                                               />
                <copyField source="PARTY.PARTY_COUNTRY"                                                                                    dest="PARTY"                                                                                   />
                <copyField source="PARTY.PARTY_COUNTRY_D"                                                                                               dest="PARTY"                                                                                               />
                <copyField source="PARTY.STATUS"                                                                                                                        dest="PARTY"                                                                                               />
                <copyField source="PARTY.STATUS_D"                                                                                                                  dest="PARTY"                                                                                               />
                <copyField source="PARTY.BILL_WWW_URL"                                                                                                     dest="PARTY"                                                                                               />
                <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
<!--         <copyField source="PARTY_A.DC_B.TYPE"                                                                                                            dest="PARTY"                                                                                               /> -->
<!--         <copyField source="PARTY_A.DC_B.SUBJECT"                                                                                     dest="PARTY"                                                                                   />           -->
<!--         <copyField source="PARTY_A.DC_B.FUNCTION"                                                                                 dest="PARTY"                                                                                   />                           -->
<!--         <copyField source="PARTY_A.DC_B.DESCRIPTION"                                                                           dest="PARTY"                                                                                   /> -->

                <copyField source="PARTY.FUNC_QLFR"                                                                                                                               dest="FUNC_QLFR"                                                                        />
                <copyField source="PARTY.FUNC_QLFR_D"                                                                                                          dest="FUNC_QLFR"                                                                       />

                <copyField source="PARTY_REL_TIER.PARTY_ID_1"                                                                          dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"                                                                    dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2"                                                                          dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"                                                                    dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3"                                                                          dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"                                                                    dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4"                                                                          dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"                                                                    dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5"                                                                          dest="Party_Relation_Tiered"                    />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"                                                                    dest="Party_Relation_Tiered"                    />

                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"                                                dest="Competency"                                                                                />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"                                           dest="Competency"                                                                               />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"                         dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"                    dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"                                                dest="Competency"                                                                                />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"                           dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"                                    dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"                                              dest="Competency"                                                                                />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"                                 dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"                           dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"                     dest="Competency"                                                                       />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"                dest="Competency"                                                                       />

                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"                                                   dest="Product_Hierarchy"                                                />
                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"                                                             dest="Product_Hierarchy"                                          />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"                                        dest="Product_Hierarchy"                                                />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"                                  dest="Product_Hierarchy"                                               />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"                             dest="Product_Hierarchy"                                                />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"                        dest="Product_Hierarchy"                                               />
                <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"                                   dest="Product_Hierarchy"                                               />

                <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"                                                               dest="Capacity"                                                                                 />

                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"                                     dest="Production_Capabilities"                 />
                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"                dest="Production_Capabilities"                 />

                <copyField source="PARTY.MARKET_D.MARKET_CODE"                                                                 dest="Market_Served"                                                 />
                <copyField source="PARTY.MARKET_D.MARKET_CODE_D"                                                           dest="Market_Served"                                                />

                <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
                <copyField source="PARTY_A.DC_B.TYPE"                                                                                                            dest="Docs_and_Conditions"                                    />
                <copyField source="PARTY_A.DC_B.SUBJECT"                                                                                     dest="Docs_and_Conditions"                                     />
                <copyField source="PARTY_A.DC_B.FUNCTION"                                                                                 dest="Docs_and_Conditions"                                    />
                <copyField source="PARTY_A.DC_B.DESCRIPTION"                                                                           dest="Docs_and_Conditions"                                     />

                <!-- copy to search like fields -->

                <copyField source="PARTY.PARTY_ID"                                                                                                                    dest="PARTY_LIKE"                                                                         />
                <copyField source="PARTY.PARTY_NAME"                                                                                                           dest="PARTY_LIKE"                                                                        />
                <copyField source="PARTY.ATTENTION"                                                                                                                dest="PARTY_LIKE"                                                                         />
                <copyField source="PARTY.PARTY_COUNTRY"                                                                                    dest="PARTY_LIKE"                                                                                 />
                <copyField source="PARTY.PARTY_COUNTRY_D"                                                                                               dest="PARTY_LIKE"                                                                         />
                <copyField source="PARTY.STATUS"                                                                                                                        dest="PARTY_LIKE"                                                                         />
                <copyField source="PARTY.STATUS_D"                                                                                                                  dest="PARTY_LIKE"                                                                         />
                <copyField source="PARTY.BILL_WWW_URL"                                                                                                     dest="PARTY_LIKE"                                                                         />
                <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
<!--         <copyField source="PARTY_A.DC_B.TYPE"                                                                                                            dest="PARTY_LIKE"                                                                        /> -->
<!--         <copyField source="PARTY_A.DC_B.SUBJECT"                                                                                     dest="PARTY_LIKE"                                                                                />           -->
<!--         <copyField source="PARTY_A.DC_B.FUNCTION"                                                                                 dest="PARTY_LIKE"                                                                               />                           -->
<!--         <copyField source="PARTY_A.DC_B.DESCRIPTION"                                                                           dest="PARTY_LIKE"                                                                                />           -->

                <copyField source="PARTY.FUNC_QLFR"                                                                                                                               dest="FUNC_QLFR_LIKE"                                                              />
                <copyField source="PARTY.FUNC_QLFR_D"                                                                                                          dest="FUNC_QLFR_LIKE"                                                             />

                <copyField source="PARTY_REL_TIER.PARTY_ID_1"                                                                          dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_1_D"                                                                    dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2"                                                                          dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_2_D"                                                                    dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3"                                                                          dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_3_D"                                                                    dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4"                                                                          dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_4_D"                                                                    dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5"                                                                          dest="Party_Relation_Tiered_LIKE"         />
                <copyField source="PARTY_REL_TIER.PARTY_ID_5_D"                                                                    dest="Party_Relation_Tiered_LIKE"         />

                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP"                                                dest="Competency_LIKE"                                                            />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_GROUP_D"                                           dest="Competency_LIKE"                                                           />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY"                         dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.PRODUCT_CATEGORY_D"                    dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE"                                                dest="Competency_LIKE"                                                            />
                <copyField source="PARTY.COMPETENCY_D.CAPABILITY_CODE_D"                           dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE"                                    dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.MACHINE_CODE_D"                                              dest="Competency_LIKE"                                                            />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH"                                 dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_FINISH_D"                           dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT"                     dest="Competency_LIKE"                                                                />
                <copyField source="PARTY.COMPETENCY_D.MATERIAL_TREATMENT_D"                dest="Competency_LIKE"                                                                />

                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT"                                                   dest="Product_Hierarchy_LIKE"                />
                <copyField source="PARTY.CATE_HIERARCHY_D.DEPT_D"                                                             dest="Product_Hierarchy_LIKE"                />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY"                                        dest="Product_Hierarchy_LIKE"                />
                <copyField source="PARTY.CATE_HIERARCHY_D.CATEGORY_D"                                  dest="Product_Hierarchy_LIKE"                />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY"                             dest="Product_Hierarchy_LIKE"                />
                <copyField source="PARTY.CATE_HIERARCHY_D.SUB_CATEGORY_D"                        dest="Product_Hierarchy_LIKE"                />
                <copyField source="CATE_HIERARCHY_D_A.NOTES.KEYWORD"                                   dest="Product_Hierarchy_LIKE"                                />

                <copyField source="PARTY.CAPACITY_D.RELEASE_DATE"                                                               dest="Capacity_LIKE"                                                                />

                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE"                                     dest="Production_Capabilities_LIKE"      />
                <copyField source="PARTY.CAPABILITY_D.CAPABILITY_CODE_D"                dest="Production_Capabilities_LIKE"                />

                <copyField source="PARTY.MARKET_D.MARKET_CODE"                                                                 dest="Market_Served_LIKE"                                       />
                <copyField source="PARTY.MARKET_D.MARKET_CODE_D"                                                           dest="Market_Served_LIKE"                                      />

                <!-- Tracker#: 26011 - FDD426 : GLOBAL SEARCH ADD DOCS & CONDITION CHANGES IN SOLR PROJECT -->
                <copyField source="PARTY_A.DC_B.TYPE"                                                                                                            dest="Docs_and_Conditions_LIKE"                         />
                <copyField source="PARTY_A.DC_B.SUBJECT"                                                                                     dest="Docs_and_Conditions_LIKE"                          />
                <copyField source="PARTY_A.DC_B.FUNCTION"                                                                                 dest="Docs_and_Conditions_LIKE"                         />
                <copyField source="PARTY_A.DC_B.DESCRIPTION"                                                                           dest="Docs_and_Conditions_LIKE"                          />

<!-- 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"/> -->

</schema>



Thanks and Regards,
Srinivas Kashyap

From: Paras Lehana <pa...@indiamart.com>
Sent: 25 February 2020 16:33
To: solr-user@lucene.apache.org
Subject: Re: Solr datePointField facet

Hi Srinivas,

But still facing the same error.


The same error? Can you please post the facet query? Please post (part of)
your schema too.

On Tue, 25 Feb 2020 at 16:00, Srinivas Kashyap
<sr...@bamboorose.com.invalid>> wrote:

> Hi all,
>
> I have a date field in my schema and I'm trying to facet on that field and
> getting below error:
>
> <field name="RELEASE_DATE" type="date" indexed="true" stored="true"
> omitTermFreqAndPositions="true" multiValued="true" />
>
> This field I'm copying to text field(copyfield) as well.
>
> <copyField source="RELEASE_DATE" dest="text" />
>
> Error:
> Can't facet on a PointField without docValues
>
> I tried adding like below:
>
> <fieldType name="fdate" class="solr.DatePointField" docValues="true"/>
>
> <field name="RELEASE_DATE" type="fdate" indexed="true" stored="true"
> omitTermFreqAndPositions="true" multiValued="true" />
>
> And after the changes, I did full reindex of the core and restarted as
> well.
>
> But still facing the same error. Can somebody please help.
>
> Thanks,
> Srinivas
>
>
>
> ________________________________
> DISCLAIMER:
> E-mails and attachments from Bamboo Rose, LLC are confidential.
> If you are not the intended recipient, please notify the sender
> immediately by replying to the e-mail, and then delete it without making
> copies or using it in any way.
> No representation is made that this email or any attachments are free of
> viruses. Virus scanning is recommended and is the responsibility of the
> recipient.
>
> Disclaimer
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and may
> be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by Mimecast Ltd, an innovator in Software as a
> Service (SaaS) for business. Providing a safer and more useful place for
> your human generated data. Specializing in; Security, archiving and
> compliance. To find out more visit the Mimecast website.
>


--
--
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*11096*

--
*
*

<https://www.facebook.com/IndiaMART/videos/578196442936091/<https://www.facebook.com/IndiaMART/videos/578196442936091/>>

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.

Re: Solr datePointField facet

Posted by Paras Lehana <pa...@indiamart.com>.
Hi Srinivas,

But still facing the same error.


The same error? Can you please post the facet query? Please post (part of)
your schema too.

On Tue, 25 Feb 2020 at 16:00, Srinivas Kashyap
<sr...@bamboorose.com.invalid> wrote:

> Hi all,
>
> I have a date field in my schema and I'm trying to facet on that field and
> getting below error:
>
> <field name="RELEASE_DATE"  type="date" indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true" />
>
> This field I'm copying to text field(copyfield) as well.
>
> <copyField source="RELEASE_DATE" dest="text" />
>
> Error:
> Can't facet on a PointField without docValues
>
> I tried adding like below:
>
> <fieldType name="fdate" class="solr.DatePointField" docValues="true"/>
>
> <field name="RELEASE_DATE"  type="fdate" indexed="true"  stored="true"
> omitTermFreqAndPositions="true"  multiValued="true" />
>
> And after the changes, I did full reindex of the core and restarted as
> well.
>
> But still facing the same error. Can somebody please help.
>
> Thanks,
> Srinivas
>
>
>
> ________________________________
> DISCLAIMER:
> E-mails and attachments from Bamboo Rose, LLC are confidential.
> If you are not the intended recipient, please notify the sender
> immediately by replying to the e-mail, and then delete it without making
> copies or using it in any way.
> No representation is made that this email or any attachments are free of
> viruses. Virus scanning is recommended and is the responsibility of the
> recipient.
>
> Disclaimer
>
> The information contained in this communication from the sender is
> confidential. It is intended solely for use by the recipient and others
> authorized to receive it. If you are not the recipient, you are hereby
> notified that any disclosure, copying, distribution or taking action in
> relation of the contents of this information is strictly prohibited and may
> be unlawful.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by Mimecast Ltd, an innovator in Software as a
> Service (SaaS) for business. Providing a safer and more useful place for
> your human generated data. Specializing in; Security, archiving and
> compliance. To find out more visit the Mimecast website.
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*11096*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>