Hi,

Is it possible to display a list of content before the user has conducted a search? EG go to the search page and automatically see the last 10 nodes added - then have your CCK facets on the side to perform a guided search?

Or would it be more suitable to use Views exposed filters?

Many thanks, Joe

Comments

cpliakas’s picture

Hi joecanti.

Thanks for the post. Ideally Search Lucene API should be able to do this, but right now it would take a little custom code to do. To me, Views Exposed filters may be a much easier solution to accomplish this. In addition, it may actually be better performance wise since you are not looking to do any textual matches. Right now a problem with Search Lucene API is doing a dump of all the nodes in the index. This will be resolved in the 3.x API, but for now it is a bit of a performance ho to do this.

A workaround could be to have a view that displays the 10 latest nodes, then the titles could be rewritten to utilize Search Lucene API. Again, this would probably be some more work than it is worth.

Hope this helps some,
Chris

joecanti’s picture

Thanks Chris - I'll look into the options, but yes maybe exposed filter is the way to go...

Many thanks, Joe

cpliakas’s picture

Status: Active » Closed (works as designed)