lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <furkankam...@gmail.com>
Subject Regex Search at Solr
Date Thu, 03 Oct 2013 07:18:59 GMT
I have two questions:
*
*
*First one:*

I have a url field at my index. I have some supported protocols. i.e. http
and https. How can I list the urls at my index that has is not a supported
url? (which query parser do you suggest for such kind of purposes)?

http://www.google.com/sfdsd sfsdf sfdsf/asfsf - sdfsfdsf/ -> *supported*
https://www.google.com/sfdsd sfsdf sfdsf/asfsf - sdfsfdsf/-> *supported*
*ftp*://www.google.com/sfdsd sfsdf sfdsf/asfsf - sdfsfdsf/ -> *not supported
*

*Second one:*

My next aim will be detecting urls that does not have protocol definition:

http://www.google.com/sfdsd sfsdf sfdsf/asfsf - sdfsfdsf/ -> *supported*
www.google.com/sfdsd sfsdf sfdsf/asfsf - sdfsfdsf/-> *not supported*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message