sql - Solr - Search by the first part of text -
i new on solr theme. need know how can search records @ solr using field title start 2 words , wilcard. example when search on sql command can put "who %".
how can search first part of text , wildcard?
i have tested different things nothing worked. way not work: http//www.domain.com:8080/solr/select?q=title:"who *"
thanks.
what can make solr believe phrase word.
if index filter solr.patternreplacefilterfactory" pattern="(\s+)
, make sure apply same regex query before sending solr, trick.
have @ link more details:http://pietervogelaar.nl/solr-3-5-wildcard-search-as-sql-like/
please keep known issue in mind: http://bensch.be/the-solr-wildcard-problem-and-multiterm-solution
Comments
Post a Comment