symphonists / search_index

Search Index provides an easy way to implement high performance fulltext searching on your Symphony site
32 stars 21 forks source link

Search - Strange Excerpt #21

Closed jonmifsud closed 12 years ago

jonmifsud commented 13 years ago

I am not too sure If I have set up something incorrectly however I think I would qualify this one as a bug.

Once search Index is created properly and set to sort from multiple sources (using the custom datasource) whenever I search for the word 'search' something weird comes up within the excerpt itself. (noted this as for some reason the first word I entered was search...)

SEARCH_INDEX_ELIPSIS

The excerpt appears enclosed within a pair of the above... I would assume this is some text generated automatically... Not a big issue really but if unnoticed before I think its important to note as people will have some strange looks if they find all their results containing that string... (Just installed latest Master - rest of the process went quite smooth.)

nickdunn commented 13 years ago

Ahar, good bug! Yes, this is a definite bug.

nickdunn commented 13 years ago

This commit should solve this. Hopefully!

https://github.com/nickdunn/search_index/commit/f991c56d798eaf2e534aed9f0e6560b9273eb146

vlad-ghita commented 13 years ago

Removed what was written here. Above patch works fine.