cancel
Showing results for 
Search instead for 
Did you mean: 

if text contains special characters like{ ,:,] , no results

sivaanagha
Champ in-the-making
Champ in-the-making
Hi,
if text contains special characters like ( , ) ,[ , ],       
          { , }, :, ?, <, >,
no results are coming in search. tried with ISO9075.encode also but no luck.
is there any alternate approach to get the results.

Thanks,
Siva.
4 REPLIES 4

mitpatoliya
Star Collaborator
Star Collaborator
Hi Shiva,

Are you using Lucene query?
Post your query, that will give more details.

sivaanagha
Champ in-the-making
Champ in-the-making
Hi,
yes using Lucene query, please find the below query.

query generated for free text: (@cm\:content:broadband?  OR  @cm\:name:broadband?) AND PATH:"/app:company_home/cm:KPNGB/cmSmiley FrustratedTAGING/cm:BASE/cm:ENGLISH/*" AND TYPE:"kb:kbContent" AND @cm\:from:[MIN TO NOW] AND @cm\:to:[NOW TO MAX]

Thanks,
Siva

andy
Champ on-the-rise
Champ on-the-rise
Hi

Use

@cm\:content:"broadband?" OR @cm\:name:"broadband?"

Andy

mitpatoliya
Star Collaborator
Star Collaborator
Yes shiva you need to put those text under double quotes rest of the query looks okey. Also use all the logical conditions carefully with AND OR and NOT.
Better to use as much as braces to clarify the logic and sequence of execution.