Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm not sure if this can be fixed but the phrase “AT&T” does not return any search results.
& is converted with & on the database and we are unable to search "AT&T".
Kindly guide.
Hi Nilesh
This may help you out
Here
Thanks Manish for the reply.
can you please guide me how we can search "&"?
On search box, the user will search for "AT&T", how we can search word containing "&"?
Basically, "&" get converted to "& a m p ;", and the reason we are unable to search "AT&T".
you can do like this
https://our.umbraco.org/projects/website-utilities/ezsearch/bugs-feedback-suggestions/59447-Special-Characters-in-Search-Term
Manish,
But this won't search for "AT&T", if we disable character "&", then search criteria will not match the input search string.
If user input on search input box: "AT&T". where on DB, UMBRACO stores "&" yo "& a m p ;" [ without space ].
@nilesh
Are you using Standard analyser in config?
Yes Manish, Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Lucene Search Error with special characters
I'm not sure if this can be fixed but the phrase “AT&T” does not return any search results.
& is converted with & on the database and we are unable to search "AT&T".
Kindly guide.
Hi Nilesh
This may help you out
Here
Thanks Manish for the reply.
can you please guide me how we can search "&"?
On search box, the user will search for "AT&T", how we can search word containing "&"?
Basically, "&" get converted to "& a m p ;", and the reason we are unable to search "AT&T".
Hi Nilesh
you can do like this
https://our.umbraco.org/projects/website-utilities/ezsearch/bugs-feedback-suggestions/59447-Special-Characters-in-Search-Term
Manish,
But this won't search for "AT&T", if we disable character "&", then search criteria will not match the input search string.
If user input on search input box: "AT&T". where on DB, UMBRACO stores "&" yo "& a m p ;" [ without space ].
@nilesh
Are you using Standard analyser in config?
Yes Manish, Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net
is working on a reply...