Closed (fixed)
Project:
Search API Solr
Version:
8.x-3.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Oct 2019 at 12:25 UTC
Updated:
25 Oct 2019 at 15:34 UTC
Jump to comment: Most recent
Comments
Comment #2
mkalkbrennerCheck your "no result behavior" of your View.
Comment #3
dsim01 commentedHello, it has nothing to do with the behavior of the view. These are the search results that are not good, because if I type "education", the search engine returns all the results that contain that word and it is perfect. However, if I type a random string like "aaabbb", the search engine will still return results (which do not contain that word) when it should not.
Comment #4
mkalkbrennerHow did you verify that it is the Solr which does return these results?
Comment #5
dsim01 commentedI have an index with all my content indexed, associated with a solr server. Then I have my search form block in my search page (view display). So I'm sure that my results are from solr.
Comment #6
mkalkbrennerA view has an option to display all entities if there's no result from the search backend.
Otherwise enable search_api_solr_devel to see what's going on.
Comment #7
dsim01 commentedI enabled search_api_solr_devel but I don't know how to see what is wrong.
I looked for the option to display all entities if there's no results (in my view), but it is not my problem. Because when I type something like "zzzzz", not all results come out, but only a few.
For example, I have 266 items in my index and if I search for the string "zzzz", I have 60 results found, but none of them contain the string "zzzz", so why are they displaying?
Comment #8
dsim01 commentedI created another core and another index for testing, and the problem seems to come from my "Rendered HTML output" field.
I need to index this field because it is in the list of skipped fields.
See :
The following fields cannot be indexed since there is no type mapping for them:
Content Builder (type "field_item:gavias_content_builder")
How can I index this field without "Rendered HTML Output"?
Comment #9
dsim01 commentedI fixed it with the "direct query" parse mode in my view.
Comment #10
mkalkbrenner"Direct"? Do you know what you're doing?
Comment #11
dsim01 commentedI'm not sure, but since I set this mode, my search works good.