cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene PATH query for avm paths

steventux
Champ in-the-making
Champ in-the-making
Howdy
I am trying to exclude search results based on their path. The results all come from my Web Project store and I know the relative path from ROOT of the content I want to exclude.
The query for retrieving content works, but trying to add the NOT PATH: clause for the query has me stumped. I've read all the relevant Wiki pages I can and while I get the general idea of PATH queries I am wondering if it is possible to do this on an AVM path. If so can anyone give me an example of what the path needs to look like (specifically how it should start) all examples I can find are of the PATH:"/app:company_home//*" variety, I'm wondering how this translates to AVM paths.
Cheers
Steve
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

AVM paths are made up of the file and directory names.
No namespace is required.
A path looks like

/www/folder/woof.xml

spaces would need encoding ISO9075 style

/www/my_x0020_home/my_x0020_file.xml

There are some examples in AVMServiceTest.

Andy