EPrints Technical Mailing List Archive
Message: #08875
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Searching problem in eprints repository
- To: eprints-tech@ecs.soton.ac.uk, eprints-tech-request@ecs.soton.ac.uk
- Subject: [EP-tech] Searching problem in eprints repository
- From: Sonu Yadav <yvsonu1987@gmail.com>
- Date: Mon, 21 Feb 2022 14:33:34 +0530
CAUTION: This e-mail originated outside the University of Southampton.
While trying to search by keywords and title in the simple search option it is picking the words from the abstract field and we have only 200 documents that have algorithms in the keywords field but while searching it is showing the 651 documents
on the search result page.
how to do that to give only the result that matches with the query.
Using 3.4 version of eprints.
and also how to create the select different drop-down fields (all, author, keywords, etc....) to search through the simple search options area on the homepage.
here I share the conf. the file of simple search pl
$c->{search}->{simple} =
{
search_fields => [
{
id => "q",
meta_fields => [
"book_title",
"title",
"publication",
"contributors_name",
"keywords",
"creators_name",
"subjects"
]
},
],
preamble_phrase => "cgi/search:preamble",
title_phrase => "cgi/search:simple_search",
citation => "result",
page_size => 10,
# order_methods => {
# "byyear" => "-date/creators_name/title",
# "byyearoldest" => "date/creators_name/title",
# "byname" => "creators_name/-date/title",
# "bytitle" => "title/creators_name/-date"
# },
default_order => "byyear",
show_zero_results => 1,
};
{
search_fields => [
{
id => "q",
meta_fields => [
"book_title",
"title",
"publication",
"contributors_name",
"keywords",
"creators_name",
"subjects"
]
},
],
preamble_phrase => "cgi/search:preamble",
title_phrase => "cgi/search:simple_search",
citation => "result",
page_size => 10,
# order_methods => {
# "byyear" => "-date/creators_name/title",
# "byyearoldest" => "date/creators_name/title",
# "byname" => "creators_name/-date/title",
# "bytitle" => "title/creators_name/-date"
# },
default_order => "byyear",
show_zero_results => 1,
};
- Follow-Ups:
- [EP-tech] Searching problem in eprints repository
- From: Sonu Yadav <yvsonu1987@gmail.com>
- [EP-tech] Searching problem in eprints repository
- References:
- [EP-tech] Searching problem in eprints repository
- From: Sonu Yadav <yvsonu1987@gmail.com>
- [EP-tech] Searching problem in eprints repository
- Prev by Date: Re: [EP-tech] apostrophe in file names of uploaded/deposited file
- Next by Date: [EP-tech] advanced search for eprints by document language
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):