Facets items with certain characters in string do not filter content

  • jnears
    Participant
    7 months, 1 week ago #35818

    Hi

    Some of my facet filters do not seem to have any effect on the results when selected. I notice this happens on labels with a colon (:) but not other characters such as a dash (-)

    Examples NOT working include:
    Financial Management: Credit and Debt
    Employment History: Labour Force Status Spell

    These DO work:
    Self-completion variables without ‘sc’ prefix
    Socio-demographic Characteristics

    How can I resolve this issue?

    Thanks

    Jonathan

    wpsolr
    Keymaster
    7 months, 1 week ago #35819

    This is correct: the “:” character is not supported in facet labels. For now, the only way to prevent the problem is to not use “:” in your facets.

    jnears
    Participant
    7 months, 1 week ago #35820

    I have also noticed that filters return no results when ‘and’ is in the string

    e.g.
    ‘Incomes Benefits and Allowances’ – NO results
    Changed ‘and’ to ‘&’
    ‘Incomes Benefits & Allowances’ – works

    I must be able to use ‘and’ in the facet items

    Please advise
    Thanks

    wpsolr
    Keymaster
    7 months, 1 week ago #35823

    What is your search engine?

    jnears
    Participant
    7 months, 1 week ago #35826
    wpsolr
    Keymaster
    7 months, 1 week ago #35827

    I could reproduce the issue with “and”. Checking…

    wpsolr
    Keymaster
    7 months, 1 week ago #35832

    Here is a fix for facets containing “:” or “and”.

    Please remove your current WPSOLR version, and install the fix instead.

    The fix will be released with WPSOLR 23.5

    jnears
    Participant
    6 months, 4 weeks ago #36055

    Thank you. This worked well

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.