PDA

View Full Version : Limit search??



mads
08-08-2007, 01:18 PM
Hi

Is it possible to limit the search area.. so you don't search though all the pages??

We have reach a point where we have a lot of pages and many of them have the same words but in different areas.
So it's ignoring that when you search you get a lot of pages that you know you not are looking for.

So it would be cool if I could select only to search though one page and it's sub-pages??

Hope you understand

PeteE
08-08-2007, 03:22 PM
Hi

Is it possible to limit the search area.. so you don't search though all the pages??

We have reach a point where we have a lot of pages and many of them have the same words but in different areas.
So it's ignoring that when you search you get a lot of pages that you know you not are looking for.

So it would be cool if I could select only to search though one page and it's sub-pages??

Hope you understand

mads - It should be possible to search based on the "path" of a page. For example: Search for pages containing under the path /TechDocs


contents:DekiWiki path:TechDocs/*

See this link for more info on the lucene query syntax.

http://wiki.opengarden.org/Deki_Wiki/Search

mads
08-08-2007, 05:08 PM
mads - It should be possible to search based on the "path" of a page. For example: Search for pages containing under the path /TechDocs


contents:DekiWiki path:TechDocs/*

See this link for more info on the lucene query syntax.

http://wiki.opengarden.org/Deki_Wiki/Search

I can't get it to work?? But I'm still using Goosberry++, does this only work in Hayes??

SteveB
08-08-2007, 05:24 PM
Yes, this only works in Hayes. Sorry.

Also, minor correction to the query, it should read:

content:DekiWiki path:TechDocs/*

mads
08-08-2007, 05:29 PM
Here is an Example:

My tree looks like this:

-CCI Wiki
-System Manager

If I search for: contents:faq path:System Manager

Then it searches for "faq" in all pages with System or Manager in the title.

I have tried the following with not luck:

contents:faq path:"System Manager"
contents:faq path:./System Manager
contents:faq path:/System Manager
contents:faq path:"/System Manager"
contents:faq path:System Manager/*
contents:faq path:"System Manager/*"

contents:faq path:"CCI WIKI/System Manager"
contents:faq path:./CCI WIKI/System Manager
contents:faq path:CCI WIKI/System Manager
contents:faq path:"CCI WIKI/System Manager"
contents:faq path:CCI WIKI/System Manager/*
contents:faq path:"CCI WIKI/System Manager/*

I may have tried some more, but nothing seems to work right??

mads
08-08-2007, 06:02 PM
Yes, this only works in Hayes. Sorry.

Also, minor correction to the query, it should read:

content:DekiWiki path:TechDocs/*

Okay... do you have any plans to make an advance search option, so you don't have to write long codes make a simpel search??

SteveB
08-08-2007, 06:14 PM
Yes, we do, but it's admintingly not a high priority item.

mads
08-08-2007, 07:04 PM
Yes, we do, but it's admintingly not a high priority item.

Okay.. just nice to know that you are planing to implement it, then I can tell my users that :)

Looking forward to it, but first I will enjoy Hayes.. :)

mads
09-15-2007, 08:34 PM
I'm just not able to get these search functions working in Hayes??

It's a key function now, because a simple search will return way to many pages... so our users get tired of looking for things in the search results..

Can someone please help me, how do a user search only beneath a specific pages area??

SteveB
09-20-2007, 06:08 PM
Confirmed. It's not working as described. Will have to take a look under the covers of Lucene and see how we can fix that. :(

mads
09-20-2007, 06:24 PM
Ohhh... not good... do you know how long it will take before you have a patch or new version out with a fix??
Hope it's easy to fix and you don't have to re-program to much.. :confused:

SteveB
09-21-2007, 06:59 PM
One bug appears to be that we're tokenizing the path value, which messes things up. It should hopefully be an easy fix. Sorry for the inconvenience it is causing.

mads
09-21-2007, 07:14 PM
Ok.. sounds good... our users will be glad to hear that :)