Re: 'String-based search editor' Search - Help! (556 Views)
Reply
Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 1 of 14 (761 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.

Advisor
user33
Posts: 48
Registered: ‎08-10-2010
Message 2 of 14 (741 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

Honored Contributor
EWillsey
Posts: 1,870
Registered: ‎04-20-2010
Message 3 of 14 (730 Views)

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

It would be this:

 

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

Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 4 of 14 (725 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?

Honored Contributor
EWillsey
Posts: 1,870
Registered: ‎04-20-2010
Message 5 of 14 (719 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.
Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 6 of 14 (701 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?

 

 

 

 

Honored Contributor
EWillsey
Posts: 1,870
Registered: ‎04-20-2010
Message 7 of 14 (685 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"

Frequent Advisor
Joanna Thompson
Posts: 61
Registered: ‎07-22-2010
Message 8 of 14 (669 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
Regular Advisor
Ralf_Wegener
Posts: 131
Registered: ‎08-21-2010
Message 9 of 14 (641 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.

 

Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 10 of 14 (629 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.

Honored Contributor
EWillsey
Posts: 1,870
Registered: ‎04-20-2010
Message 11 of 14 (626 Views)

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

That's the oddest search string ever. 

Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 12 of 14 (622 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.

 

 

Honored Contributor
EWillsey
Posts: 1,870
Registered: ‎04-20-2010
Message 13 of 14 (614 Views)

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

Did you try my original response. It does exactly what you asked for.
Valued Contributor
Yuri Prado
Posts: 87
Registered: ‎11-06-2008
Message 14 of 14 (556 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.

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.