EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

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


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-perl
libxapian30
xapian-tools (probably not essential)

Regards

David Newman

[1] https://wiki.eprints.org/w/Search_with_Xapian_Guide

On 09/12/2021 11:24, Sonu Yadav via Eprints-tech wrote:
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.
image.png
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/

Virus-free. www.avg.com