Closed (works as designed)
Project:
Search Lucene API
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2010 at 21:50 UTC
Updated:
26 Jun 2011 at 14:04 UTC
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
Comment #1
cpliakas commentedHi 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
Comment #2
joecanti commentedThanks Chris - I'll look into the options, but yes maybe exposed filter is the way to go...
Many thanks, Joe
Comment #3
cpliakas commented