Set Attribute Label in Site Search

(from github.com/RSeptiane)
Hi,

Is it possible to add a label to the site search script as a filter?
something like fess.setAttribute(‘label’, ‘main-website’);

I want to filter the search result by the label.
If it does could you let me know how to do it?

fess:search</fess:search>

Thank you

(from github.com/marevol)
Could you try:

    fess.setAttribute('fess-url', 'http://search.n2sm.co.jp/json?fields.label=main-website');

(from github.com/RSeptiane)
Hi,

Thank you for your answer.