Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
- I have installed apache solr drupal module and integrated apache solr with this module. I am using website default search page for search. Also I have installed apache solr autocomplete module to autocomplete the nodes when typing in search form block textfield.
- After indexed all the content, I tried searching the node title by typing in search block form. It returns the search results properly. But when I try to find the node title which has special characters, for example I am trying to find this node "bb/b-m/21's" by typing -m and tried this combination "a/am-d" by typing a/ . Results are not obtained properly. It returns no results.
- It seems apache solr ignores special characters. Please fix it as soon as possible. Or any patch for this bug will be appreciated or if i miss anything configuration please tell me.
Comment | File | Size | Author |
---|---|---|---|
#5 | apachesolr-fix_search_block_form-2430073-5.patch | 609 bytes | neomen |
#4 | apachesolr-fix_search_block_form-2430073-4.patch | 632 bytes | neomen |
Comments
Comment #1
ganesan g CreditAttribution: ganesan g commentedComment #2
immanuel.paul CreditAttribution: immanuel.paul commentedHi Ganesan Gopal,
Were you able to find any work around for this issue.
Any help would be much appreciated.
Thanks
Comment #3
ganesan g CreditAttribution: ganesan g commented@immanuel.paul, we have added EdgeNgramFilterFactory in schema.xml as I mentioned here https://www.drupal.org/node/2474399.
But that too failed in some cases. This may work for you.
Comment #4
neomen CreditAttribution: neomen at ADCI Solutions commentedHere is patch which makes processing on block form similar to page's form.
Comment #5
neomen CreditAttribution: neomen at ADCI Solutions commentedA new patch would be more correct. Please try this, I think this resolve your problem