Hi , Below is my SOLR configuration (schema.xml) for a keyword search field.
<field name="Keyword" type="text_general_classic" indexed="true" stored="false" multiValued="true"/> <!-- Copy Fields BEGIN --> <copyField source="ID" dest="Keyword"/> <copyField source="RecordId" dest="Keyword"/> <copyField source="ItemTypeId" dest="Keyword"/> <copyField source="StatusId" dest="Keyword"/> <copyField source="CataloguerId" dest="Keyword"/> <copyField source="Structure" dest="Keyword"/> <!-- Copy Fields END--> <fieldType name="text_general_classic" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.ClassicTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.ClassicTokenizerFactory"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="true"/> </analyzer> </fieldType> · If I search for “Autograph full score”, Solr returns all items that contains this string in exactly the same order. · If I search for “full Autograph score”, Solr doesn’t return any results. The requirement is that regardless of the order of the string, Solr should return all records which “CONTAIN” these 3 strings. Please advise how can this be made possible? Thanks & Regards, Lulu ****************************************************************************************************************** Experience the British Library online at www.bl.uk<http://www.bl.uk/> The British Library’s latest Annual Report and Accounts : www.bl.uk/aboutus/annrep/index.html<http://www.bl.uk/aboutus/annrep/index.html> Help the British Library conserve the world's knowledge. Adopt a Book. www.bl.uk/adoptabook<http://www.bl.uk/adoptabook> The Library's St Pancras site is WiFi - enabled ***************************************************************************************************************** The information contained in this e-mail is confidential and may be legally privileged. It is intended for the addressee(s) only. If you are not the intended recipient, please delete this e-mail and notify the postmas...@bl.uk<mailto:postmas...@bl.uk> : The contents of this e-mail must not be disclosed or copied without the sender's consent. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the British Library. The British Library does not take any responsibility for the views of the author. ***************************************************************************************************************** Think before you print