简体   繁体   中英

lucene index special characters

I am indexing fields with characters like <,{,//," etc in Lucene Is that fine?

My search query will not contain these special characters but the fields which will be retrieved in response to query might contain one or more of these.

Table: keywords Fields->keyword,text

When the user will enter a search term, it will be matched against the column keyword which will have special characters.

I think it doesnt matter as long as your search term/search phrase/search query doesn't contain special characters

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM