EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06546
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Plural words in search results
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Plural words in search results
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- Date: Thu, 1 Jun 2017 05:08:50 +0000
Hi All, One of our users came across a problem, when performing some keyword searches… and assumed it was a case problem, since the all uppercase words in their testing weren’t returning
in the result set. After testing, I have a preliminary diagnosis, (we are running 3.3.10 if it makes a difference). It appears the index process is removing the ‘s’ off the end of the word (unless the word is all caps). When performing a search, the system removes the ‘s’ from the search term, and performs the search… in our case this returns 2 of 3 test records. When I took the last two letters off each eprint’s keywords, and then performed a search, it returned all three records in the results.. +----------+----------+---------------+--------------------------+ |<- details from eprint__rindex ->|<- eprint.keywords field->| +----------+----------+---------------+--------------------------+ | eprintid | field | word | keywords | +----------+----------+---------------+--------------------------+ | 29533 | keywords | ornithorhynch | ornithorhynch | | 29534 | keywords | ornithorhynch | Ornithorhynch | | 29535 | keywords | ornithorhynch | ORNITHORHYNCH | +----------+----------+---------------+--------------------------+ The plural determination holds true for the humble Platypus as well
L +----------+----------+-----------------+---------------------------+ | eprintid | field | word | keywords | +----------+----------+-----------------+---------------------------+ | 29533 | keywords | ornithorhynchu | ornithorhynchus, platypus | | 29533 | keywords | platypu | ornithorhynchus, platypus | | 29534 | keywords | ornithorhynchu | Ornithorhynchus, Platypus | | 29534 | keywords | platypu | Ornithorhynchus, Platypus | | 29535 | keywords | ornithorhynchus | ORNITHORHYNCHUS, PLATYPUS | | 29535 | keywords | platypus | ORNITHORHYNCHUS, PLATYPUS | +----------+----------+-----------------+---------------------------+ Cheers Matt. _____________________________________________________________ This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email. The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt. The University of Southern Queensland is a registered provider of education with the Australian Government. (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 ) |
- Prev by Date: Re: [EP-tech] Couple of questions
- Next by Date: Re: [EP-tech] Plural words in search results
- Previous by thread: [EP-tech] lookup referee
- Next by thread: Re: [EP-tech] Plural words in search results
- Index(es):