Developer forum

Forum » Ecommerce - Standard features » String field value set to No not stored

String field value set to No not stored

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi,

I just ran into an odd situation. The website has product category fields of type string. The system is not storing the value 'No'. Is this by design?

https://www.screencast.com/t/KH3hrNcrSm

BR, Mario


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

"No" is a 'reserved' word I guess -  a default stopword. So it is ignored by the index. So try adding your own stopwords list - see http://doc.dynamicweb.com/documentation-9/indexing/indexing-search/indexes#4782

Votes for this answer: 1
 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

You are totally right, I should stop working on Fridays smiley

I tried to create the stopwords.txt under the repository folder but did not make any difference. Anyway, I solved the issue by creating a field and make it non analyzed.

Thank you Nicolai.

BR, Mario

 

You must be logged in to post in the forum