Found that double ellipses were being added to search snippets that only contain "content" in the snippet and nothing else. The logic for the ellipses is used to break up sections of the snippet such as "content", "teaser", and various other components that may be added to the snippet. This is happening theme_apachesolr_search_snippets.

Comments

grndlvl’s picture

Title: Apachesolr search ads double ellipses to search snippets. » Double ellipses on search snippets
StatusFileSize
new584 bytes

Better title adding patch.

grndlvl’s picture

Title: Double ellipses on search snippets » Apachesolr search ads double ellipses to search snippets.
StatusFileSize
new584 bytes
grndlvl’s picture

Title: Apachesolr search ads double ellipses to search snippets. » Double ellipses on search snippets Better title adding patch.

d.o not playing nice atm.

grndlvl’s picture

Title: Double ellipses on search snippets Better title adding patch. » Double ellipses on search snippets.

Ok last time for title

sheise’s picture

Patched worked for me. Thanks.

grndlvl’s picture

Status: Active » Needs review

May help it committed if I move to the correct status.

pwolanin’s picture

Looks reasonable, but I guess this bug only happen when you have some custom code?

grndlvl’s picture

Not sure but yeah there are some custom fields.

I can try to check tomorrow.

pwolanin’s picture

Status: Needs review » Fixed

thanks, fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.