I'm getting odd search results behavior from "Add Related" fields - specifically the node body text. If I enter a single search term, it retrieves records from across all content types as expected. If I enter more than one term, it will work as expected for all fields except the node body. It will not return any records where the search terms are just in the body. In fact if the search terms occur in another field (e.g. the title for a node from a different content type, you'll get those in the results.

The index covers my 9 content types and the various specialized fields within each. I've used the "Add related" option to also include the body:value as a full text field and did a "clean index" followed by a re-indexing.

I'm using Views to expose a search form and deliver result fields in a table format.
Within the View, Filter is set to "Single Filter" and "Contains All These Words". "Use As" is set to Search Keys. Query Settings is presently set to "Direct query" but it has also been set to "Multiple Terms" in the past.

Solr is v 1.4 and appears to be working fine based on overall results from searching.

ApacheSolr search module is disabled to avoid conflicts. Search default is set to node searching.

So everything appears to me to be set correctly to take a multi-term search string from the search box and query solr to retrieve those terms from a given field.

Comments

drunken monkey’s picture

Project: Search API » Search API Solr
Version: 7.x-1.9 » 7.x-1.x-dev
Component: Views integration » Code

Solr is v 1.4 and appears to be working fine based on overall results from searching.

This is most likely the cause of your problems – Solr 1.4 has many issues and isn't really supported by this module anymore. This is also noted in INSTALL.txt (though it might have been better to remove support altogether).
You are strongly encouraged to update to a newer Solr version, 4.x works best.

OanaIlea’s picture

Status: Active » Closed (outdated)

This issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.