Use the analysis tab of the admin UI to try out your sentence against the text_general analyzer. See how your sentence is analysed at index and query time.
Upayavira On Sat, Jun 13, 2015, at 10:54 AM, Test Test wrote: > Hi, > I have solr document, composed like this, with 2 fields : id = 1details = > "London is the capital and most-populous city of United Kingdom." > When i request solr with this parameter (details:london, details:city), i > don't get the document.The "details" field is a type "text_general" > <fieldType name="text_general" class="solr.TextField" > positionIncrementGap="100"> <analyzer type="index"> > <tokenizer class="solr.StandardTokenizerFactory"/> <filter > class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> > <!-- in this example, we will only use synonyms at query time > <filter class="solr.SynonymFilterFactory" > synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/> > --> <filter class="solr.LowerCaseFilterFactory"/> > </analyzer> <analyzer type="query"> <tokenizer > class="solr.StandardTokenizerFactory"/> <filter > class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" /> > <filter class="solr.SynonymFilterFactory" > synonyms="synonyms.txt" ignoreCase="true" expand="true"/> > <filter class="solr.LowerCaseFilterFactory"/> </analyzer> > </fieldType> > What's wrong?