Getting closer, almost there. I think the last piece is: how do I make the combined handler the default handler instead of AllFields?


On Tue, Oct 8, 2013 at 10:50 AM, Demian Katz <demian.katz@villanova.edu> wrote:

Sorry, I was misremembering how the searchbox.ini worked…  Here’s Villanova’s configuration as an example:

 

; This file controls VuFind's search box

 

[General]

; Set this to true in order to use a combined search handler drop-down as specified

; in the [CombinedHandlers] section below.

combinedHandlers = true

 

; This section controls the "combined handlers" drop-down. It must contain groups

; of settings with the following keys:

;

; type[] = "VuFind" for an internal search module or "External" for an external URL

; target[] = Search class ID for "VuFind" type, URL for "External" type

; label[] = Label for this value (subject to translation)

[CombinedHandlers]

type[] = VuFind

target[] = Combined

label[] = "Library Catalog"

 

type[] = VuFind

target[] = Solr

label[] = "-- Books & more"

 

type[] = VuFind

target[] = Summon

label[] = "-- Articles & more"

 

type[] = VuFind

target[] = SolrWeb

label[] = "Library Website"

 

type[] = External

target[] = "http://digital.library.villanova.edu/Search/Results?lookfor="

label[] = "Digital Library"

 

type[] = External

target[] = "http://bibliography.library.villanova.edu/Search/Results?lookfor="

label[] = "Community Bibliography"

 

- Demian

 

From: Jay Roos [mailto:jayroos@gmail.com]
Sent: Tuesday, October 08, 2013 11:39 AM


To: Demian Katz
Cc: vufind-general@lists.sourceforge.net
Subject: Re: [VuFind-General] Combined search setup

 

I need some guidance on the [Combined] section. I'm not seeing it in the documentation or the .ini file.

 

On Tue, Oct 8, 2013 at 10:05 AM, Demian Katz <demian.katz@villanova.edu> wrote:

See this page:

 

https://vufind.org/wiki/vufind2:combining_search_types

 

You can create a [Combined] section in the searchbox.ini to incorporate combined options.

 

You might also want to consider making Combined your defaultModule in config.ini.

 

- Demian

 

From: Jay Roos [mailto:jayroos@gmail.com]
Sent: Tuesday, October 08, 2013 11:05 AM
To: Demian Katz
Cc: vufind-general@lists.sourceforge.net


Subject: Re: [VuFind-General] Combined search setup

 

Is there a way to make the combined search an option in the drop-down box? That would make an easier feature to access.

 

On Tue, Oct 8, 2013 at 9:47 AM, Jay Roos <jayroos@gmail.com> wrote:

Somewhere I missed the required URL. Sorry for the confusion.

 

On Mon, Oct 7, 2013 at 6:03 PM, Demian Katz <demian.katz@villanova.edu> wrote:

To see your combined search results, you need to go to the /Combined URL. Is that not working for you? Could you share your Combined.ini and a screen shot if you're still having trouble?

thanks,
Demian


From: Jay Roos [jayroos@gmail.com]
Sent: Monday, October 07, 2013 5:15 PM
To: vufind-general@lists.sourceforge.net
Subject: Re: [VuFind-General] Combined search setup

Strike that bit about switching the order. I was actually in /WorldCat. The order does not matter.

 

On Mon, Oct 7, 2013 at 4:14 PM, Jay Roos <jayroos@gmail.com> wrote:

I'm interested in checking out the combined search functionality. We don't have Summon so I attempted to use WorldCat, but I still only have one column.

 

If I put WorldCat before Solr in the combined.ini file then the results are all WorldCat and there is nothing from Solr.

 

I'm testing with the blueprint theme. What did I miss in the setup?