on 04-24-2018 10:09 PM
There is a requirement for me to create an Index on a relation. Can someone help me out with complete details of creating an Index on a relation.
Hi, Shyam
If your relation table stores simple types like int or string you can try adding that relation as indexable type in backoffice and see if it is searchable as some relations are seen in backoffice type search results:
1) You need to create new indexed type at backoffice->system-> search and navigation ->Indexed Types.
2) Then add created indexed type to search configuration at Backoffice-> system -> search and navigation - > facet search configuration - > choose indexed shoot -> go to properties tab -> add your type to be indexed.
3a) After testing if your relation works as indexable type. Try to recreate that in impex.
3b) If your property is not of basic types like string etc. You may want to try and create your own “composed type” at shema.xml and add to it value store=true to enable indexing.
In theory you can only add as indexable documents items of types like string, int etc. but you can try creating your own type by extending (Extension) solrserver -> resources -> solrCustomizations->files->server->solr->configsets->backoffice->conf->schema.xml
Best Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are we talking right now about indexing relations in database or indexing relationships in Solr?
Whichever it is: 1. Solr index type can be found as "SolrIndexedType". Executing a search for it in HAC returns "forbidden". 2. Relationships in a database can be found with a flexible search, by searching its code name from *-items, but in a real database, those table names are shortened.
"Where are navigation and search?": In older versions, it was under facet search: (example photo at first step of https://help.hybris.com/6.5.0/hcd/8c7867a586691014bacd89c30a0c83d1.html).
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.