Martyn Houghton Posted April 15, 2016 Posted April 15, 2016 We have gone live with Workspaces ahead of us going live with Service Manager to get our users used to the new platform and to start to capture some of the knowledge/information we have spread around numerous different sources. One thing we have already identified is that we will have a large volume of Workspaces and will need the ability to do more advanced/structured searches. At the moment with the drop down arrow on the Workspaces search feature allows you to filer by ‘Date’, ‘Posted By’ and ‘Workspaces’. However we would like to be able to more structure/logic based searches. For instance, where the Workspace name is begins with a value, contains a phrase but does not contain another phrase. Perhaps using some search format like below:- Workspace like ‘Uniform%’ and subject ‘Version 10.1’ and subject not ‘Version 10.1.1’ Is this something that would be possible? Cheers Martyn
TrevorKillick Posted April 15, 2016 Posted April 15, 2016 Hi Martyn We use cLucene for the global search i have asked Development if it supports filtering out strings. At this time its not possible to search workspace name like that you can only search all workspaces or each workspace individually by its ID. Kind Regards Trevor Killick
Martyn Houghton Posted April 15, 2016 Author Posted April 15, 2016 Trevor As it is using cLucene is it possible to use the 'Lucene' search syntax to build structured searches then? Can development advise what field names are usable in the search for workspaces? Cheers Martyn
Gerry Posted April 20, 2016 Posted April 20, 2016 Martyn, The fields you are probably interested in are title content comment actorId actorName Gerry
Martyn Houghton Posted April 25, 2016 Author Posted April 25, 2016 Gerry Thanks, that seems to do the trick quite nicely. Using the syntax examples from https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Boolean%20operators, I can now do structured searching within the workspaces. For example searching all workspaces starting with 'Service Desk' and containing the word 'URL' in either the post or comment. title:"Service Desk*" AND (content:"URL" OR comment:"URL") Cheers Martyn 1
Gerry Posted April 26, 2016 Posted April 26, 2016 Martyn, Thats great, glad it works thanks for posting back with the links too Gerry
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now