Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -24,8 +24,34 @@ 24 24 25 25 {{include reference="ReleaseNotesXWiki53RC1" section="HSearchforDocumentsMatchingSpecificValuesinMultipleXObjectProperties"/}} 26 26 27 - {{includereference="ReleaseNotesXWiki53RC1"section="HMulti-Wiki-1"/}}27 +== Search for Documents Matching Specific Attachment Meta Data == 28 28 29 +Another important search use case is to find documents matching specific attachment meta data. For instance, you could be looking for a blog post that has a PDF file attached. Or you may be searching for a wiki page where you recently uploaded an image. Finding the documents tagged with 'News' and which have large attachments is another example. 30 + 31 +Previously, we were indexing attachment data on separate index rows. As with XObjects, you had to use joins in the Solr search syntax in order to match both document and attachment rows in the search index. Starting with this version we index attachment data on document rows also. Obviously this means the attachment data is now duplicated but we think the increase of the index size is worth the improved search speed and the simplified query syntax: 32 + 33 +{{code language="none"}} 34 +object:Blog.BlogPostClass AND mimetype:"application/pdf" AND mistake 35 + 36 +title:profile attdate:[NOW-3DAYS TO NOW] AND mimetype:image\/* 37 + 38 +property.XWiki.TagClass.tags:"News" AND attsize:[50000 TO *] 39 +{{/code}} 40 + 41 +See [[Solr Schema Design>>design:Design.SolrSchema]] for the list of attachment fields that can be used in the Solr search query. 42 + 43 +{{include reference="ReleaseNotesXWiki53M1" section="HDocumentReferenceLocalenowtakenintoaccountinXWiki23existsandXWiki23getDocument"/}} 44 + 45 +{{include reference="ReleaseNotesXWiki53M1" section="HNewExtensionManagerAPIs"/}} 46 + 47 +{{include reference="ReleaseNotesXWiki53M1" section="HXWikiEnterpriseArchetype"/}} 48 + 49 +{{include reference="ReleaseNotesXWiki53M1" section="HXARpluginimprovements"/}} 50 + 51 +{{include reference="ReleaseNotesXWiki53M1" section="HFoldEvents"/}} 52 + 53 +{{include reference="ReleaseNotesXWiki53M2" section="HMulti-Wiki-1"/}} 54 + 29 29 == Deprecated and Retired projects == 30 30 31 31 * Workspace has been moved to https://github.com/xwiki-contrib/xwiki-platform-workspace