'String-based search editor' Search - Help! (407 Views)
Reply
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 1 of 14 (407 Views)
Accepted Solution

'String-based search editor' Search - Help!

Hi All,

 

Does anyone know how can I run a search all documents stored in containers linked to a particular Business Classification Term using the 'String-based search editor'?

 

Y.

Please use plain text.
Advisor
user33
Posts: 48
Registered: ‎08-10-2010
Message 2 of 14 (387 Views)

Re: 'String-based search editor' Search - Help!

Use SearchBy "Document Content".

 

this will enable you to search for a specific word in all Electronic Documents

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,708
Registered: ‎04-20-2010
Message 3 of 14 (376 Views)

Re: 'String-based search editor' Search - Help!

It would be this:

 

container:[classification:"MY CLASSIFCIATION HERE"]+

Please use plain text.
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 4 of 14 (371 Views)

Re: 'String-based search editor' Search - Help!

Thanks for your responses.

 

I was able to identify all files that contains documents by using the following string search:

 

classification:"MYCLASSIFICATION" and contains:*

 

The search result was just over 30000 files, which is accurate. However, I need to retrieve the documents contained all records. Any ideas?

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,708
Registered: ‎04-20-2010
Message 5 of 14 (365 Views)

Re: 'String-based search editor' Search - Help!

Not sure what you mean. If you're wanting all documents contained within a folder which has a particular classification, then use the search I specified. You can then right-click->Supercopy if you're trying to extract them.
Please use plain text.
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 6 of 14 (347 Views)

Re: 'String-based search editor' Search - Help!

Thanks for that.

 

The search you provided gives me the documents that have a classification linked to them, which happen to be linked to the classification by mistake. What I need is to display all documents contained within all files that have documents stored in them, based on the following query:

 

classification:"MYCLASSIFICATION" and contains:*

 

I tried to use the following query as well:

 

classification:"MYCLASSIFICATION" and container:+

 

and I got the following error message:

'The recursive search indicator must follow and valid query value'

 

I know that if I double click on a container that has document, TRIM interprets this action with the following query:

 

container:1500865+

 

So I decided to add the 'Container:+' into my query.

 

Any ideas?

 

 

 

 

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,708
Registered: ‎04-20-2010
Message 7 of 14 (331 Views)

Re: 'String-based search editor' Search - Help!

[ Edited ]

I just tried the search I gave you, and it gave me all documents contained within folders with that given classification (regardless if the document themselves have the classification on them). I think that's what you're asking for?

The statement "all documents contained within all files that have documents stored in them" isn't clear to me here. Wouldn't all documents contained in a all files that have documents just mean the same thing?

Questions:
1) Which objects have the classifications? Ie, the container
2) Are there multiple levels (files/folders) within the object that has the classification)?
3) What's the structure like here (box->folder(file)->document?

If you're trying to find all documents in a folder, which has a specific classification, but the documents don't have that classification... then it would be this:

container:[classification:"My Classification"]+ and not classification:"My Classification"

Please use plain text.
Frequent Advisor
Joanna Thompson
Posts: 61
Registered: ‎07-22-2010
Message 8 of 14 (315 Views)

Re: 'String-based search editor' Search - Help!

If I'm looking for documents found in containers that have a certain classification applied, I use this string:

container:[classification:[number:MYCLASSIFICATION] and type:[behaviour:document]

 

This ensures I just get back the documents.  Not sure if that's what you're asking though. :)

Joanna Thompson
Senior Records Management Application Analyst
Government Records Service, Information Access Operations
Logistics and Business Services, Shared Services BC
Ministry of Citizens' Services and Open Government
Please use plain text.
Regular Advisor
Ralf_Wegener
Posts: 114
Registered: ‎08-21-2010
Message 9 of 14 (287 Views)

Re: 'String-based search editor' Search - Help!

[ Edited ]

Have you tried doing a search (as per above responses) but as a nested saved search...Search within another saved search recursively?. E.g....  Create the top level search or from the most / granular saved search; save it; then refine the saved search and hit the filter tab - Select "Within another Saved Search" with your nested Saved Search Criteria? Using Boolean search from.

 

Haven't tried it myself given your criteria and it may or may not work.

 

Please use plain text.
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 10 of 14 (275 Views)

Re: 'String-based search editor' Search - Help!

Thanks All. I worked it out.

 

Here is the search string:

 

container:"MYCLASSIFICATION" and not classification: "MYCLASSIFICATION" or classification: "MYCLASSIFICATION" +

 

Using this search string I was able to view all the documents contained within containers linked to a particular classification.

 

Cheers.

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,708
Registered: ‎04-20-2010
Message 11 of 14 (272 Views)

Re: 'String-based search editor' Search - Help!

That's the oddest search string ever. 

Please use plain text.
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 12 of 14 (268 Views)

Re: 'String-based search editor' Search - Help!

It is odd, and in fact innacurate! I actually checked the output report and it displayed the folders mixed with the documents.

 

 

The search is supposed to be simple:

 

1. Find all files linked to a  particular classification. I know I can do this by right-mouse-clicking on the classficaiton and select 'Show Records'

 

2. Tag all

 

3. Right mouse click and select 'Contained Records'

 

As you know TRIM can only display the documents contained within 250 containers. I need to to do this for over 100000 containers!

 

I need the search string to perform the above task.

 

Now by using the below search string i'm able to identify the files that have documents contained within:

 

classification:"MYCLASSIFICATION" and contains:*

 

Which is half of the query. I need the other section to display the documents contained within.

 

 

Please use plain text.
Honored Contributor
EWillsey
Posts: 1,708
Registered: ‎04-20-2010
Message 13 of 14 (260 Views)

Re: 'String-based search editor' Search - Help!

Did you try my original response. It does exactly what you asked for.
Please use plain text.
Valued Contributor
Yuri Prado
Posts: 86
Registered: ‎11-06-2008
Message 14 of 14 (202 Views)

Re: 'String-based search editor' Search - Help!

I did try and it worked.

 

Here is the string search:

 

container:[classification:"MyClassification "]+

 

Thanks for your assistance.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation