vecnet / dl-discovery

Map based discovery interface for digital library records
Other
4 stars 3 forks source link

Add Advanced Search Option back to UI #53

Closed nkmeyers closed 9 years ago

nkmeyers commented 9 years ago

Need to Add Advanced Search Option back to UI (this option searches full text of pdfs as well as the regular indexes).

The UI element could be just the checkbox maybe ? is there such an input element as a checkbox "inside" the search box at the far right w/a label?

image

stevenvandervalk commented 9 years ago

@dbrower Added the UI element but not sure what is the correct param to pass to enable full-text and citation search?.

https://github.com/vecnet/vecnet-dl/blob/66fa300b206f93941ca473e56602673c7362254f/app/controllers/catalog_controller.rb

Suggests $qf_full_text_citation and the dl currently passes full_text_citation=1

stevenvandervalk commented 9 years ago

After looking we think perhaps using a search_helper to add a local_param that is parsed to include the full text field. See example at https://github.com/projectblacklight/blacklight_range_limit/blob/master/lib/blacklight_range_limit/controller_override.rb

dbrower commented 9 years ago

Lets check with Natalie about always enabling full text search for now.

nkmeyers commented 9 years ago

Best way to implement it is an option to "expand search" to include full-text rather than w default to include full text - there should be two index alternatives to point the search toward depending on the user's selection (maybe three including simulations ) .

Natalie Meyers Typos by iPhone

On Jun 3, 2015, at 8:01 AM, Don Brower notifications@github.com wrote:

Lets check with Natalie about always enabling full text search for now.

— Reply to this email directly or view it on GitHub https://github.com/vecnet/dl-discovery/issues/53#issuecomment-108341751.

dbrower commented 9 years ago

I thought @nkmeyers would argue for the need of keeping two types of search.

Devils advocate, why not do full text search by default? We would boost hits on titles, subjects, etc so that they would score higher than a hit in the full text. This promotes discover-ability over what we currently have, where people have an awkward interface to EXPAND their search. I don't have numbers, but I'm willing to wager no one uses full text search. Additionally, then an advanced search page, should one be added, would be used to NARROW the search.

As to the other point, there is not a third index for simulations. To search simulations only, one must facet on the resource type.

dbrower commented 9 years ago

Also, I should add, I'm up for doing whatever Natalie wants :)

nkmeyers commented 9 years ago

@devil'sadvocate / ok let's goahead w fulltext included as default search - lmk the boost order & weights

Natalie Meyers Typos by iPhone

On Jun 3, 2015, at 10:24 AM, Don Brower notifications@github.com wrote:

I thought @nkmeyers https://github.com/nkmeyers would argue for the need of keeping two types of search.

Devils advocate, why not do full text search by default? We would boost hits on titles, subjects, etc so that they would score higher than a hit in the full text. This promotes discover-ability over what we currently have, where people have an awkward interface to EXPAND their search. I don't have numbers, but I'm willing to wager no one uses full text search. Additionally, then an advanced search page, should one be added, would be used to NARROW the search.

As to the other point, there is not a third index for simulations. To search simulations only, one must facet on the resource type.

— Reply to this email directly or view it on GitHub https://github.com/vecnet/dl-discovery/issues/53#issuecomment-108451914.

nkmeyers commented 9 years ago

regarding boost order etc. Why do I care how we boost? This post says it all: http://www.enterprisesearchblog.com/2015/01/your-enterprise-search-is-like-your-teenager.html

Hope it gives you a laugh or two.

Natalie