This looks interesting - but before I spend ages adding and configuring the module, would you be able to tell me whether it would allow me to make a block containing a search field which returns results only from Ubercart products?
I need it to have a separate interface from the regular ApacheSolr search, and I don't want users to have to choose among node types.
Comments
Comment #1
stroobl commentedAs far as I know, this is not possible with this module. But you can do that with views 3 and the apache solr views module.
Comment #2
adam_b commentedThanks, but this is part of a complex site so I can't justify using Views3 until there's a full release. I guess users will just have to do without it in the meantime.
Comment #3
nick_vhadam_b,
as far as I understand you want to make an individual search query to solr and use the obtained results in a custom block right?
Please take a look at this
http://pastebin.ca/1965006
These functions can be added to your custom module and then you can write blocks like the following example
In this way we are able to fetch solr nids out of the search index (they even react on faceted search whenever they are placed in the search result pages).
Now if we would like to filter and only show ubercart products we could give it the following value :
Good luck!