lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Solr doesnt return answer when searching numbers
Date Tue, 10 Sep 2013 15:43:38 GMT
Is your df parameter also set to PackageName? The fl parameter just sets the 
fields to return, not which fields are queried.

-- Jack Krupansky

-----Original Message----- 
From: Mysurf Mail
Sent: Tuesday, September 10, 2013 9:25 AM
To: solr-user@lucene.apache.org
Subject: Solr doesnt return answer when searching numbers

I am querying using

http://...:8983/solr/vault/select?q="design test"&fl=PackageName

I get 3 result:

   - design test
   - design test 2013
   - design test for jobs

Now when I query using q="test for jobs"
-> I get only "design test for jobs"

But when I query using q = 2013

http://...:8983/solr/vault/select?q=2013&fl=PackageName

I get no result. Why doesnt it return an answer when I query with numbers?

In schema xml

<field name="PackageName" type="text_en" indexed="true" stored="true"
required="true"/> 


Mime
View raw message