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
There is already an adapter for converting files properly.
161
+
There is already an adapter for converting files properly.
151
162
152
163
164
+
(backend-indexing-extending-indexed-data-label)=
153
165
154
-
####Extending indexed data
166
+
## Extending indexed data
155
167
156
-
157
-
Sometimes you need to extend the SearchableText with additional data which is not stored in a field.
158
-
It is possible to register a named adapter which provides additional data:
168
+
Sometimes you need to extend the `SearchableText` with additional data which is not stored in a field.
169
+
It is possible to register a named adapter which provides additional data.
159
170
160
171
```python
161
172
from plone.app.dexterity import textindexer
@@ -187,26 +198,30 @@ ZCML:
187
198
</configure>
188
199
```
189
200
190
-
This is a **named** adapter! This makes it possible to register multiple
191
-
extenders for the same object on different behavior interfaces. The name of
192
-
the adapter does not matter, but it's recommended to use the name of the
193
-
behavior (this may reduce conflicts).
201
+
This is a **named** adapter!
202
+
The named registration allows registering multiple extenders on different behavior interfaces applying to the same object.
203
+
The name of the adapter does not matter, but it's recommended to use the name of the behavior to reduce potential conflicts.
194
204
195
-
If your behavior has a defined factory (which is not attribute storage), then
196
-
you need to define a marker interface and register the adapter on this marker
197
-
interface (dexterity objects do not provide behavior interfaces of behaviors,
198
-
which are not using attribute storage).
205
+
If your behavior has a defined factory (which is not attribute storage), then you need to define a marker interface and register the adapter on this marker interface.
206
+
Dexterity objects do not provide behavior interfaces of behaviors, which are not using attribute storage.
199
207
200
208
209
+
(backend-indexing-portal-type-fieldindex-label)=
201
210
202
211
## `portal_type` (`FieldIndex`)
203
212
204
-
Indexes the `portal_type` field and contains values like `Folder`.
213
+
Indexes the `portal_type` field and contains values such as `Folder`.
214
+
215
+
216
+
(backend-indexing-path-pathindex-label)=
217
+
218
+
## `path` (`PathIndex`)
219
+
220
+
Indexes the object path, such as `/news/news-item-1`.
205
221
206
-
## `path` (`PathIndex)`
207
222
208
-
Indexes the object path, like `/news/news-item-1`.
223
+
(backend-indexing-subject-keywordindex-label)=
209
224
210
225
## `Subject` (`KeywordIndex`)
211
226
212
-
Indexes the `Subject` field which contains a list of object categories.
227
+
Indexes the `Subject` field which contains a list of object categories.
0 commit comments