EPrints Technical Mailing List Archive
Message: #08808
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] About Browse view
- To: <eprints-tech@ecs.soton.ac.uk>, Sonu Yadav <yvsonu1987@gmail.com>
- Subject: Re: [EP-tech] About Browse view
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Thu, 9 Dec 2021 12:08:06 +0000
Hi Sonu,
1. Keywords browse view
I cannot be certain but I think the keywords field was originally added for allowing users to specify words that may not appear elsewhere in the metadata but that should be indexed, so it can be found in search results. Therefore this field is free-hand text field and not suited for use as a classifier for a browse view.
If you want to do a keywords browse view, you will need to create your own multiple keywords field. I would also advise, adding an autocompleter for this field so that users add the same keywords and avoid typos, that will be required editing the workflow to add the lookup script and then write this script in your archive's /cgi/users/lookup/. You will probably also need to write a script to map the current keywords field into individual keywords, presumably using commas as a separator.
2. Search functionality
Without seeing your repository, I cannot tell if you have Xapian search indexing enabled. If you have this enabled some of the features you describe [1], like quoting titles to limit the amount of search results so the item you are actually looking for appears near the top of the page. If you do not ahve Xapian search indexing enabled. You will need to reindex all items once you have enabled it. If you have a recent (3.4+) version of EPrints, to enable this you will just need to make sure the appropriate Xapian OS packages are installed and then restart the webserver (then reindex all items). On Debian/Ubuntu, these are:
libsearch-xapian-perllibxapian30
xapian-tools (probably not essential)
Regards
David Newman
[1] https://wiki.eprints.org/w/Search_with_Xapian_Guide
CAUTION: This e-mail originated outside the University of Southampton.Hi all,I have some question of the following point, why it is coming like this.
1. I have created a browse view by keywords, the problem is that it is not coming up group-wise or with different values. When we give keywords by comma to any item then it is showing as it is on the browse by result page.
2. Why is the search function not working perfectly? When we search for a resource, it doesn't appear at first. I searched with the English title in a simple search box but it appears at the end of the search results page along with other different language titles. Even when we use a double inverted comma with titles it gives the same search result. How to enable this function? Is there any way we can enable Truncation Search, Wild Card Search, Proximity Operators, and Boolean Operators search function in the simple search box?
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- References:
- [EP-tech] About Browse view
- From: Sonu Yadav <yvsonu1987@gmail.com>
- [EP-tech] About Browse view
- Prev by Date: [EP-tech] About Browse view
- Next by Date: [EP-tech] Branding, the next level -Toolbar - EPrints Documentation
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):