Search found 6 matches

by simeon
Tue Aug 06, 2019 8:02 am
Forum: Guides
Topic: Mayan EDMS Index Reference
Replies: 18
Views: 4368

Re: Mayan EDMS index reference post

Oh interesting, didn't know there were different drivers. Are there docs on this?
by simeon
Mon Aug 05, 2019 7:54 am
Forum: Guides
Topic: Mayan EDMS Index Reference
Replies: 18
Views: 4368

Re: Mayan EDMS index reference post

Is 'FileType' your metadata type 'Internal Name'?

Here is one of mine:

{{ document.metadata_value_of.department_en }}

Note no 'file_'

Sim
by simeon
Thu Feb 14, 2019 11:33 am
Forum: API
Topic: API search _match_all=on ignored?
Replies: 3
Views: 736

Re: API search _match_all=on ignored?

I should have been using the API /search/advanced/ which does actually honour the _match_all parameter.

I then discovered a bug in the get_serializer method, I have a patch for that.
by simeon
Wed Feb 13, 2019 9:11 am
Forum: API
Topic: API search _match_all=on ignored?
Replies: 3
Views: 736

Re: API search _match_all=on ignored?

Ah I see, thanks for the reply. It will certainly be very useful to do this via the API. For the moment I will have to do some client side filtering of the API results.

Sim
by simeon
Tue Feb 12, 2019 3:14 pm
Forum: API
Topic: API search _match_all=on ignored?
Replies: 3
Views: 736

API search _match_all=on ignored?

Hi, I'm trying to do a search through the API where all terms must be matched, the same as when 'Match all' is checked using the Mayan frontend search page. It doesn't seem to work, it looks like the terms are always OR'd. These two API calls return the same thing but the document with metadata_type...
by simeon
Thu Jan 31, 2019 11:15 am
Forum: Under the hood
Topic: LDAP and Settings files
Replies: 4
Views: 1061

Re: LDAP and Settings files

I have also been trying to do this and found there is an error in the docs: I followed the direct deploy instructions, adapting them to CentOS 7 along the way. The supervisord config shows a line: PYTHONPATH=/opt/mayan-edms/lib/python2.7/site-packages:/opt/mayan-edms/data, This actually needs to be:...