Hi,
thanks for the pointer.
Kr.
Georges Racinet wrote:
On Sep 4, 2007, at 11:45 AM, Anahide Tchertchian wrote:
Hi again,
Glad you found out what was the problem :)
Glad to know it finally worked, too, thanks for the report
Please feel free to enter issues in jira (http://jira.nuxeo.org/) if
you have suggestions to improve the application. This would help a lot
making it done by developers.
As a side remark, the correct behaviour of the search engine is to match
words, not arbitrary substrings. This means that you shouldn't need to
use the '*'' wildcard for a full word.
Thanks,
anahide.
Vincent Dutat a écrit :
Hi,
I found what I was doing wrong : in the search popup I specifies a
part of the title of the document I am looking for, without
specifying any '*', I thought it was done automatically. Maybe some
examples of search string could be shown under the search text box,
it could help 'dumb' users like me. Or maybe I am too dumb ;-)
Thanks for your support.
Anahide Tchertchian wrote:
I forgot to mention that self-relations are not allowed.
So you should create another document of your type to see if it is
found.
If it still doesn't work, I suggest you try the following request in
the search interface, logged in as an administrator :
SELECT * FROM Document WHERE ecm:fulltext LIKE 'test' AND
ecm:mixinType != 'Folderish' AND ecm:mixinType !=
'HiddenInNavigation' AND ecm:isCheckedInVersion = 0
You'll have to create a document of your type with title 'test' to
match it. You can also use 'tes*' in the query, instead of 'test'.
If your custom documents are not found, then it's an indexing problem.
Vincent Dutat a écrit :
My custom document type does not have these facets so my documents
should be found. Here is the document type definition :
<extension target="org.nuxeo.ecm.core.schema.TypeService"
point="doctype">
<doctype name="PV" extends="Document">
<schema name="common"/>
<schema name="file"/>
<schema name="dublincore"/>
...
<facet name="Downloadable"/>
<facet name="Versionable"/>
<facet name="Commentable"/>
<facet name="Publishable"/>
</doctype>
Anahide Tchertchian wrote:
Hi,
The query performed on the relations interface ignores documents
that:
- have the 'Folderish' facet (these documents do not have a
'relations' tab).
- have the 'HiddenInNavigation' facet.
Maybe your custom document type does not fall under these criteria?
You can change this behaviour rewriting what's in the
nuxeo-platform-relations-web module:
method RelationActionsBean.searchDocuments, called in the
create_relations_search_document_popup.xhtml template.
Regards,
Vincent Dutat a écrit :
Hi,
in the realtion tab, I want to create a relation to a document
that has a custom document type, I click on the 'search' button
and type a part of the title of the document and that document is
never found. Did I miss something regarding indexation of my
custom document type ?
Regards.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
---------
Georges Racinet, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40 33
79 87
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm