I have a CCK field that has an apostrophe in it and in the facet block I get Printable PDF& # 039;s (3) (spacing added to prevent re-encoding here)

Pwolanin mentioned we should try not using 'safe' values in apachesolr.index.inc line 127 since strip_tags is used afterwards.

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new1.23 KB

still seems to be a problem for CCK facets with &

pwolanin’s picture

StatusFileSize
new1.81 KB

ok, with some extra decoding thrown in per: #420290: document preparation runs words together

pwolanin’s picture

StatusFileSize
new2.51 KB

helpful to get the body too

pwolanin’s picture

Two tests:

A CCK text field radios w/ allowed values such as:

PDF's
That’s it
Abc Def

and
in the body text

German Umlauts like in Hängebrücke

Without converting ä and ü into "ä" and "ü" a search for "Hängebrücke" should have no result.

pwolanin’s picture

StatusFileSize
new2.51 KB

or this

pwolanin’s picture

StatusFileSize
new2.51 KB

#3 is safer, I think.

pwolanin’s picture

StatusFileSize
new3.18 KB

opps missed query class change

pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x

pwolanin’s picture

Status: Fixed » Closed (fixed)