Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Words not found after <br/> #17

Open
mariaannalind opened this issue Sep 23, 2016 · 1 comment
Open

Words not found after <br/> #17

mariaannalind opened this issue Sep 23, 2016 · 1 comment

Comments

@mariaannalind
Copy link

Umbraco v.7 but I expect the problem to be universal.
In RTE if a word comes after br tag it is not found by ezSearch.

It looks like the problem results from the fact that the tag isn't stripped in search.


text - text not found

text - text found

Makes sense but is a problem in rte where editors don't enter html tags manually.

@harvzor
Copy link

harvzor commented Sep 27, 2016

Hi @Inabox,

Can you check that the CS file "ezSearchBoostrapper.cs" which should be located in the App_Code folder of your website is present and working?

If you want to test that it is working, you can attaching a debugger to your website, adding a breakpoint in the mentioned CS file, followed by rebuilding the ExternalIndex. This should cause your breakpoint to be hit.

This file is required as it appears to strip out HTML as each node is indexed. In my tests, I found that the Lucene indexer would not pick up search terms unless this stripping was done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants