[EP-tech] About Browse view
David R Newman
drn at ecs.soton.ac.uk
Thu Dec 9 12:08:06 GMT 2021
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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSearch_with_Xapian_Guide&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C06ede8a028bf44100db508d9bb0c905e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637746484893264145%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=yjf6qG7Ig%2FlXT3%2B7XCMxuyIFukCKCBzsQdog6RXLdSM%3D&reserved=0
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:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C06ede8a028bf44100db508d9bb0c905e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637746484893264145%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=LA9oY9YIfXeno1DVNIqXmv2KhPKBHdV0x%2Fe2WRXErug%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C06ede8a028bf44100db508d9bb0c905e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637746484893264145%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ovx7sIoX0Jo2j7Af%2FOT7vcG9T%2BpYiOdB720ov7wqM9o%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C06ede8a028bf44100db508d9bb0c905e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637746484893264145%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6YDPVuNs6gXi26sxCr0RmiQnkqsSlFnmrSidHzSmSOI%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211209/67d4f706/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 88790 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211209/67d4f706/attachment-0001.png
More information about the Eprints-tech
mailing list