(from github.com/MajidSafari)
Fess support hash tag search? like #news
(from github.com/marevol)
Fess Crawler removes a hash from URL because the content specified by the hash is in a page.
If not ignoring a hash, many duplicated pages will be crawled.
(from github.com/MajidSafari)
that right ,
i say , when search #fess if in content #fess exist show in result search ,
now Fess Crawler must every word start by # , index
so each page some tags , ["#new","#teramp","#usa"]
(from github.com/marevol)
For specific requirement, it’s better to add a new field to search it(ex. tags)
To add the new field,
- Add mapping to fess/doc.json before setting up Fess
"tags": {
"type": "keyword"
}
- Add extracting rule to crawler/transformer.xml
<postConstruct name="addFieldRule">
<arg>"tags"</arg>
<arg>"...XPath..."</arg>
</postConstruct>
- Add it to search fields
query.additional.search.fields=tags