Faceted search returning number of results but not being shown in view results in Drupal 7

Programming
Tutor: None Selected Time limit: 2 Days

Hello I am using a search Api Facet search block to perform a search ingrated with views in Drupal 7. For some searches a count of results is shown but $view->result is empty and does not show these results. Would like to know what is causing this. The problem usully appears if the facetblock is used more than once. Im searching based on properties with property price ,number of rooms age, price etc.

Aug 13th, 2013
Maybe the operation cant be performed on the data. cause its structured data
Aug 13th, 2013

whatdo  you mean by structure? The search does return the number of results, views simply dies not show it, using the search with similar options does work sometimes.

http://inmobrain0.d341.dinaserver.com/search/




Aug 13th, 2013

Site is in  think French. But Im just wondering, are you referring to the  number of views on the property listed during a particular period or?

Aug 13th, 2013

the sit is spanish i'm refering to the fact that the count of results is shown in the green area at the top but the results in views when views->execute is run are  empty empty or do not give a list of results here is another example.

http://inmobrain0.d341.dinaserver.com/es/search?f[0]=field_precio%3A%5B2300%20TO%20940000%5D&f[1]=search_api_aggregation_3%3A1&f[2]=field_inmueble%3AViviendas 

Aug 13th, 2013

To be sincere, Im confused

Aug 13th, 2013

RESULTADOS DE LA BÚSQUEDA: 2619 inmuebles
says that 2619 properties are found but they are not displayed on the page. using these search facets

f[0]=field_precio%3A%5B2300%20TO%20940000%5D&f[1]=search_api_aggregation_3%3A1&f[2]=field_inmueble%3AViviendas

Aug 13th, 2013

Also getting this warning at the bottom of the page

Warning: Invalid argument supplied for foreach() in /home/sitehomewww/sites/all/modules/search_api_db_1/service.inc on line 342

Aug 13th, 2013

Try using this command

node_view()

node_view ()  Will aid in generating the browser's output. I do think that It can work cause every visual portion of the node will be indexed. 

Try to work with that command instead of $view->

Then send me your feedback

Aug 13th, 2013

I am cueently using the array returned from  $view->result after executing the view but not getting the results so I need the list of views results from the query.

Aug 13th, 2013

Have you checked if you have made any error on code block associated with executing the function?

Any tiny error which looks as if its normal but its not supposed to be there?

Aug 13th, 2013

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Aug 13th, 2013
...
Aug 13th, 2013
Dec 6th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer