On Wed, Sep 22, 2010 at 8:13 PM, Siddharth Powar <powar.siddha...@gmail.com> wrote: > I am getting some weird output upon searching in solr. For certain searches > that have a period in the search term (e.g: q=ab.xyz) solr returns the > results perfectly, but for some other searches (e.g: q=ab.pqr) solr would > return 0 results even though it is present. On the other hand if the search > query is q=abpqr (without the period), solr returns the correct documents. > > The field type belongs to the class "solr.StrField". > > Please let me know if i can provide with more info.
- add debugQuery=true to see what the resulting query that solr is searching with - are you sure the filedType is StrField? Can you show the actual request URLs for both queries above, along with the result (and please add debugQuery=true). -Yonik http://lucenerevolution.org Lucene/Solr Conference, Boston Oct 7-8