Search bar displaying the same search result 2 times

sudhap
Participant III

Hi all,

The issue i am facing is like this :

"The search bar in the drupal developer portal is actually displaying the same search 2 times one with the actual content and other a misleading one".

8053-search.png

8054-search1.png

8055-search2.png

I actually thought since there are 2 revisions in my model, it is displaying the search two times and i gave a trail by deleting a method in the model of unpublished revision, but it does not seem to be the issue,

So how to remove this misleading result from list of related searches,

I've given a try to re-index site, but that too does not seem to work

Any help, suggestion reference would be appreciated

search 1 => exact search result

search 2 => misleading result

Thanking You,

Sudha Pidaparthi

0 5 259
5 REPLIES 5

ElangoD
Participant III

If you are using views for building the search page, then need to check on the views page .particularly make sure to Checking the "Distinct" checkbox in Advanced->Other->Query Settings->Settings

Thanks for the suggestion ,that really made me go ahead, but that did not work in fact, the description down to "distinct" itself said it might not work all the times.

8058-searchreply.png

Also by the way, i was talking about the Search not the ""Advanced Forum search"

1. facing this issue, for all node search or only for smartdoc.

2. Are you using in build search module or facets, search API

1)Only for smartdoc search

2)Yes , using the search module from drupal