Open MrTango opened 10 months ago
@sebastienbeau @simahawk @lmignon i would be happy to here some feedback from you. Also please check if the readme stuff is correct, as I'm not quite sure if i understand how this in build together.
thx @lmignon for your commends, I'll have a look at them. One thing which is not clear to me is, how a can control the json data which is given to the connector. I only see something like this there, no matter what product config i have:
{
"id": 7,
"name": "Office Design Software"
}
I would like to export more details of a product. Any hints how to do that? @simahawk @sebastienbeau
thx @lmignon for your commends, I'll have a look at them. One thing which is not clear to me is, how a can control the json data which is given to the connector. I only see something like this there, no matter what product config i have:
{ "id": 7, "name": "Office Design Software" }
I would like to export more details of a product. Any hints how to do that? @simahawk @sebastienbeau
The transformation to json is the responsibility of the serializer configured on your index. You can register your specific serializer. For example into the shoinvader project the shopinvader_search_engine
addon defines specific serializer for products and categories based on pydantic
schema. (https://github.com/shopinvader/odoo-shopinvader/tree/16.0/shopinvader_search_engine). You can also uses a generic serializer provided by https://github.com/OCA/search-engine/tree/16.0/connector_search_engine_serializer_ir_export and using the ir.exports rules to serialize records to json.
thx for the tips, i found now also that it is using ir.export model and i can define the fields for the model there.
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
Sorry for the delay, i'll continue to work on this next month.
This is now fully working implementation of the Typesense backend. Typesence is a free API compatible alternative to Algolia and easier to use than Elastic Search or Solr.
@sebastienbeau this needs the other two (#166 #167) PR's merged.