You are here: Foswiki>Tasks Web>Item12113 (11 Feb 2014, MichaelDaum)Edit Attach

Item12113: SolrPlugin - urlencoded string is not added to the index in a proper way

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SolrPlugin, StringifierContrib
Branches:
Reported By: AlexanderStoffers
Waiting For:
Last Change By: MichaelDaum
We use urlencode with mailto links to prevent parsing problems during the save and edit cycle.

An example:

test@test.de

I would expact, that only words (hier geht los etc.) are pushed into the index, but the whole string without "%", e.g. "Hier20gehtC2....." is pushed into the index. Is there an easy way to extract proper words out of the url-encoded string?

If not, is there a possibility not to index the whole "mailto:xxxx" string ?

-- AlexanderStoffers - 02 Oct 2012

I don't think so. a mailto:xxx string is yet another urli. More interesting is the link text of that url which of course is added to the index as is. Not indexing an uri isn't an option either. Why would you like to do so? If it is to protect mail links not being indexed, then it would be better not to have it in the content at all.

Please reopen this support question in case you'd like to implement a kind of solution for it. For now I close it due to inactivity mostly smile

-- MichaelDaum - 11 Feb 2014
 

ItemTemplate edit

Summary SolrPlugin - urlencoded string is not added to the index in a proper way
ReportedBy AlexanderStoffers
Codebase
SVN Range
AppliesTo Extension
Component SolrPlugin, StringifierContrib
Priority Low
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r2 - 11 Feb 2014, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy