i try to write plugin for nutch 2, but can't find any info in internet how to add new field in plugin. No information about plugins for nutch 2.
In nutch 1.x "WebPage" just have method "add"
Related
How to enable adaptive search in back-office.
Which all extensions need to be added.
Please explain the steps.
Hybris version used is 2011.
Please follow below link to know how to enable adaptive search via recipe or via adding required extensions.
https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/2005/en-US/cadb26143c6340f6a79a9bbec60f0e3b.html
You can either install it through Recipes, or manual
Recipes
Adaptive search is part of the following recipes
b2b_acc
b2b_acc_plus
b2c_acc
b2c_acc_plus
b2c_b2b_acc
If you are on a more recent version of SAP Commerce, you need to use the cx recipe
Manual
Alternatively, you can manually add the adaptive search extensions in your localextensions.xml
For adaptive search, the following can be added to your localextensions.xml
adaptivesearch
adaptivesearchbackoffice
adaptivesearchfacades
adaptivesearchsamplesaddon
adaptivesearchsolr
adaptivesearchwebservices
It depends on your needs if you require all of them.
(If you haven't already included the solr search addons, don't forget those as well)
more info on de SAP website https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/2105/en-US/cadb26143c6340f6a79a9bbec60f0e3b.html
I have installed Liferay 6.1 in my personal site.
But i need Documents and Media Display view same as Liferay 6.0.6 not like 6.1 format ,Because when i click Liferay 6.1 documents at Documents and Media Display it is drive to another details page, i need to download documents when i click documents (same as 6.0.6)
How to change 6.1 Documents and Media Display view like 6.0.6 .
Generally speaking, in order to "override" the out-of-the-box functionality of Liferay portlets you will need to hook the respective JSP pages.
The Document Display renders file entries in a search container with rowHREF(line 111) controlling the navigation to the details page. The download URL (line 473) within that page doesn't appear to use anything that you wouldn't have access too "higher" up.
So, you should be able to do something similar to the following in place of the if/else.
rowHREF = DLUtil.getPreviewURL(fileEntry , fileEntry.getLatestFileVersion(), themeDisplay, StringPool.BLANK);
Of course, this assumes you'll always want the latest version of the file. If you want to provide the ability to download "archived" versions, then I would suggest leaving the details navigation in place and consider alternative means by which to provide download functionality. For example, we use Category Navigation + Asset Publisher with a custom Display Template to allow a browsable/filterable alternative to directly exposing Documents and Media Display as we wanted to restrict that portlet's scope of use to admin-only.
I failed to run Taxonomies Module under Orchard 1.4:
Steps:
Got and run the solution of Orchard
Copied in \Orchard.Web\Modules\ the source code of Taxonomy Module got from the CodePlex Taxonomy Module page.
Enabled the Module in "Modules" (no errors are shown, no errors in Orchard.Web\App_Data\Logs).
Results:
No "Taxonomies" menu item in Admin
No "Term" (TermPart) and "Taxonomy" (TaxonomyPart) in the list in "Content Parts" of "Content" menu item
Could I get Taxonomy Module run in Orchard 1.4?
(Repost from here.)
If you use the version from the gallery it will work fine with 1.4.
https://gallery.orchardproject.net/List/Modules/Orchard.Module.Contrib.Taxonomies
I assume you are also using a relatively old version of the source code as the 1.x branch was working on 1.4, and it has already been merged on default.
I'm beginner in Liferay, and I need to customize the portlet webcontent display list.
I added a portlet in my page Home, and I managed to see the recent news that I created.
The news is displayed in a table (title, author and date display).
I want to display the news like this:
- The date of the news (above the title of the news)
- The title of the news (which is a link to the news)
I tried to create a structure, but I do not see commits its work?
Thank you to enlighten me?
PS: sorry for this English !!
Liferay is available in source - did you look at the implementation of the webcontent list portlet? You can either create a jsp hook for that portlet or just reimplement a similar one based on what you find in there...
As you say you'd like to customize Webcontent display list I assume you don't want its default behaviour. Once you know what to change in this portlet, read about jsp hooks, create a hook with the jsp changes you'd like (if it's limited to jsp changes) and deploy it.
Liferay's development documentation should have the information that you need, otherwise continue in the wiki on liferay.com
Edit: Also, you might want to look at AssetPublisher - maybe this provides a few more options for formatting your output.
Generally Liferay web content in journalarticle table. I have referred Liferay 6.0 Version.
Now, for showing liferay custom portlet view, you should use Liferay Portlet Creation and Liferay Service Builder.
Here are two useful article on those -
1> Liferay MVC Portlet
2> Liferay Service Builder
Now make the service for journalarticle table and use those in your portlet.
Some useful fields of journalarticle table for your reference are - title, createDate etc.
i want to create a custom field in nutch search engine?
what are the steps i will follow?
I would think your best option is to develop a Nutch Plugin which handles the logic for adding that field on a per crawled page basis.
Please see the Writing Plugin Example wiki article on the Nutch site.