I've created searchable .net assembly connector, which reads text file (using this post). All works fine, content inside file was indexed and appears in search results.
I want to hide some rows from search results. In crawl log url to bdc entity looks like follows:
I know that is possible to exclude some urls from crawling by specifying path (for example http://mysite/*) through crawl rules. I've added crawl rule with above url (with checked
Exclude complex URLs (URLs that contain question marks - ?)), but after full crawl my entity doesn't excluded and still appears in search results. I've tried also this url (%2D decoded):
with no luck.
Another part that I've tried - I created bcs model using SPD (that displays data from Customer table from AdventureWorks db), created profile page, next added model to content sources and perform full crawl. All fine, data appear in search results, profile page link work as expected.
Example of profile page link:
I've also tried exclude this item using crawl rules and above url, but after full crawl item still appears in results (and no deletes in crawl log)...
So, the question is it possible to exclude bdc entity through crawl rules?