(from github.com/MajidSafari)
can you add in field ,
(from github.com/MajidSafari)
i use data store in Fees , i have image url from in my content
but
ImageUrl field not exist in Fess ,
or
web crawling read from meta tag
meta property=“image” content=“http://img.kanoon.ir/Images/kanoon.jpg”
and store in ImageUrl for thumb image
(from github.com/marevol)
If you want to add additional field, insert the following configuration into app/WEB-INF/classes/crawler/transformer.xml. I think image_url field is added to fess index.
<postConstruct name="addFieldRule">
<arg>"image_url"</arg>
<arg>"//META[@ property =\"image\"]/@content"</arg>
</postConstruct>
(from github.com/marevol)
Yes. It works on Web Crawling configuration.
If you want to use image_url in JSP file, you also need to modify fess_config.properties.
query.additional.response.fields=image_url
(from github.com/marevol)
As for 10.2, it’s in app/WEB-INF/classes/app.xml.
<component name="queryHelper" class="org.codelibs.fess.helper.QueryHelper">
<property name="apiResponseFields">["content_description",
"content_title",
"site_path",
"url_link",
"_id",
"doc_id",
"boost",
"content_length",
"host",
"site",
"last_modified",
"timestamp",
"mimetype",
"filetype",
"filename",
"created",
"title",
"digest",
"url",
"image_url"]</property>
In 10.3, it’ll be in fess_config.properties.
query.additional.api.response.fields=image_url
(from github.com/MajidSafari)
hi ,
Now i can use image_url , but i can’t update records in Administrator, because my some records have image and some records have not image and i get Exception for Update records .
(from github.com/MajidSafari)
i add additional fields=image_url in crawler
some pages not exist META[@ property =“image”]/@content"
now in Administrator in url /admin/searchlist/
when click in update …
I see
System Error
Contact the Site Administrator.
(from github.com/marevol)
I see.
Additional field editing is not supported at the moment.
We will support it in the next release.
(from github.com/MajidSafari)
when not exist image_url
System Error
Contact the Site Administrator.
when exist image_url , is work