You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. |Exporter Dialog Button in Tree View| image:: https://raw.githubusercontent.com/OCA/search-engine/16.0/typesense_ir_exports/static/img/exporter_dialog_button.png
131
+
.. |Exporter Form View View| image:: https://raw.githubusercontent.com/OCA/search-engine/16.0/typesense_ir_exports/static/img/exporter_form_view.png
The key of the module is the user friendly usage of ir.exports to
141
+
serialize data and resolve it for JSON.
142
+
143
+
Behind the scene everything is managed to jsonify:
144
+
145
+
::
146
+
147
+
- images bytes into string
148
+
- images thumbnail into urls external or internal (any of them in sequence)
149
+
- many2one relation into string
150
+
- many2one inner fileds into object of key value pairs
151
+
- many2many into list of inner strings or objects
152
+
- intergers are indexed as integers
153
+
- floats are indexed as floats
154
+
- id is ESSENIALLY indexed as string and not as integer (typesene only)
155
+
156
+
If relational field has inner relational field and that also has inner
157
+
relational field or data, no worries everything is managed smoothly.
158
+
159
+
Selecting fields and relations and inner relations is friendly handled
160
+
by the exporter dialog.
161
+
162
+
You can remove or add fields as you wish, as indexing is updated, and if
163
+
necessary recreated.
164
+
165
+
(recreating a collection only if a data type changes from string into
166
+
object or vice versa, like having many2one relation and then having the
167
+
same relation with inner fields of it)
168
+
169
+
Media
170
+
-----
171
+
172
+
|se index form view with exporter button|
173
+
174
+
|exporter dialog complicated tree|
175
+
176
+
|serialized json data from exporter related record|
177
+
178
+
.. |se index form view with exporter button| image:: https://raw.githubusercontent.com/OCA/search-engine/16.0/typesense_ir_exports/static/img/se_index_form_with_exporter_button.png
.. |serialized json data from exporter related record| image:: https://raw.githubusercontent.com/OCA/search-engine/16.0/typesense_ir_exports/static/img/serialized_data_from_exporter.png
0 commit comments