Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2011-08-12 12:05:34
- linguist
- Member
- Registered: 2007-11-03
- Posts: 24
Re: A way to limit the amount of hits within one article
Hello! Can you help me with this problem, please? I have been searching for an answer for hours (on forum and in docs), but haven’t found any explanation or advice yet.
I have TxP 4.2, with standard search function (in a separate section) that I thought worked quite well. Until recently, when I saw that some visitors searched for digits 2. 3. etc (i.e. a digit with a full stop / point after it). I checked search results on that, and saw that every search results excerpt was a huge piece of text that included all the text between such digits in the file, even if there were just 2 or 3 occurences of such digits in the file.
There is no problem with search results for searched words or short phrases. The output is normal, 3 to 5 lines in one excerpt showing up to 5 occurrences in the article. What should I do to make search results excerpts look normal if the search is for digits with fullstops? Thank you.
Offline
Re: A way to limit the amount of hits within one article
linguist wrote:
I have TxP 4.2
Sorry for the slight offtopic, but you should update as soon as possible to v4.4.1. TXP v4.2.0 is affected by major security issues that have been fixed since then. Staying at v4.2.0 can potentially compromise all data stored on the same system.
Last edited by Gocom (2011-08-12 12:17:21)
Offline
#15 2011-08-12 14:15:41
- linguist
- Member
- Registered: 2007-11-03
- Posts: 24
Re: A way to limit the amount of hits within one article
Thank you for your reminder, Gocom. Actually, I’m looking for someone who could do the update for me. No success yet. What about my question (above) about search results? Could such behaviour be some kind of a bug?
Offline
#16 2011-08-13 22:07:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: A way to limit the amount of hits within one article
linguist, you might want to re-post this in the Troubleshooting forum (using a descriptive topic title). Over here it’s less likely that your question will be noticed.
Offline