Well, based on what you've written, they should be returning similar results,
so there must be something else lurking. Possibilities:

1> the index is different on the two machines. How did you index server B?
2> Look at your admin/analysis page and try your text. This will help if
     you've overlooked something besides the schema.
3> Try using Luke to examine the indexes on both servers to determine
     whether they're the same.
4> Did you re-index the data on server B after the latest schema update?
5> Show us the results of running your query with &debugQuery=on, that'll
     help understanding what the query is.
6> did you modify the request handler in solrconfig on either machine?
7> Unless it's a typo, I don't think the dest field of "*Facet" is legal. I get
     an error when Solr starts up with that definition. Do you see any errors
     in your Solr logs?

Best
Erick

On Tue, Nov 15, 2011 at 7:13 AM, mechravi25 <mechrav...@yahoo.co.in> wrote:
> Hi,
>
> I have some data indexed in two servers A and B.
>
> This is how the data looks in schema.xml for datatype "text"
>
> <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
>      <analyzer type="index">
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>
>        <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>        <filter class="solr.WordDelimiterFilterFactory"
> generateWordParts="1" generateintegerParts="1" catenateWords="1"
> catenateintegers="1" catenateAll="0" splitOnCaseChange="1"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>        <filter class="solr.EnglishPorterFilterFactory"
> protected="protwords.txt"/>
>        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>      </analyzer>
>      <analyzer type="query">
>        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>        <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
> ignoreCase="true" expand="true"/>
>        <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>        <filter class="solr.WordDelimiterFilterFactory"
> generateWordParts="1" generateintegerParts="1" catenateWords="0"
> catenateintegers="0" catenateAll="0" splitOnCaseChange="1"/>
>        <filter class="solr.LowerCaseFilterFactory"/>
>        <filter class="solr.EnglishPorterFilterFactory"
> protected="protwords.txt"/>
>        <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>      </analyzer>
>    </fieldType>
>
>
> I have two another dynamic field, which gets copied from the actual field
>  <copyField source="*" dest="*Facet" />
>  <copyField source="idx_*" dest="text" />
>
>
> This is the search string
>
> idx_ABCFacet:"XXX....... ABC DEF"
>
> In server A, I give a search on a multivalued string field containing . and
> the data is fetched fine, but the same search if I give in server B, no
> documents are fetched. This inspite the data being present in both the
> servers.
>
> I compared the schema file in both the servers. Both the file was same. I
> also compared the analyzer, both has the same one and the anlyzer we got is
> StandardAnalyzer. Still the search for that field works fine in one server
> but does not work in another server.
>
> We also checked the field in schema browser, there are also the fields
> looked same in both server A and B.
>
> Kindly provide a solution.
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Search-in-multivalued-string-field-does-not-work-tp3509458p3509458.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to