Is "url" a "string" field or is it "text" (and hence analyzed, which typically removes all punctuation)?

A URL typically needs to be stored as both string and text so that the user can do both exact match and keyword match.

-- Jack Krupansky

-----Original Message----- From: Furkan KAMACI
Sent: Friday, July 26, 2013 10:31 AM
To: solr-user@lucene.apache.org
Subject: Exact Match

When I run that query:

solr/select?q=url:"ftp://"&wt=xml&fl=url

I get results as like that:

<result name="response" numFound="1441" start="0" maxScore="9.5640335">
<doc><str name="url">http://forum.whmdestek.com/ftp-makaleleri/</str></doc>
<doc><str name="url">http://www.netadi.com/ftp-kurulumu.php</str></doc>

Why it does not make an exact search find: *ftp://* ?

Reply via email to