Is it still faster to use fields versus Node/teaser row style? That's the truth with using regular views, but is that the case with Solr views? Is node_load being executed for each row?

Comments

Scott Reynolds’s picture

Status: Active » Fixed

Node load is not used on every row.

iamfratty’s picture

Status: Fixed » Active

So is there any performance difference between fields style and node style with solr views?

Scott Reynolds’s picture

Status: Active » Fixed

Of course there is a performance difference. node_load, as your ticket hinted at, is expensive unless you have patched Drupal 6 to do caching like Drupal 7. So a node style will do a node_load where field style doesn't.

thus, field style should be faster.

BUT, milage varies. If you create a view with fields that does some awful thing (or you just use standard CCK ironically on a large system) you can create a very bad query and thus be slower then a bunch of node loads.

But there is no right or wrong answer. node style can be faster then field style and field style can be faster then node style.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.