Hi, Tabish:

This might not be what you're asking but...

If you want to turn off the facet output for a range index, set the facet 
attribute or subproperty to false:

http://docs.marklogic.com/guide/search-dev/appendixa#id_42752

If you want to prefer other elements or properties to properties with a range 
index, used preferred-matches:

http://docs.marklogic.com/guide/search-dev/appendixa#id_50098

If you need to implement a custom snippeting function that skips a blacklist of 
elements or properties, see:

http://docs.marklogic.com/guide/search-dev/query-options#id_58295

If none of that helps, please provide a specific example of what the current 
and desired output.


Erik Hennum

________________________________
From: [email protected] 
[[email protected]] on behalf of ShamsTabish Sheikh 
[[email protected]]
Sent: Tuesday, June 14, 2016 4:49 AM
To: [email protected]
Subject: [MarkLogic Dev General] Avoiding Facets in search:snippet highlight


Hello team,
    I'm are trying to display the search keyword matches to the user in our app.
I have used search:snippet to highlight the matches, in some cases facet values 
are appearing in the results which we don't want, please suggest a way to avoid 
facet values in search:highlight.

Thanks & Regards,
Tabish.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to