Assuming that your requirements are to search only the package name and description as has been described previously, the short answer is is that you cannot express the queries you want in search v0. That's why we're making search v1. However, via post processing you can probably get what you want from search v0 if you parse the output and look for actions matching 'set fmri' or 'set description' might get you what you want.

Also, if you want to expose any of the advanced search interfaces in an advanced search window, which I certainly hope you will, those will, by definition, require search v1.

Brock

John Rice wrote:
Thanks for the clarification Brock, can you and Padraig touch base to see if we can express our search requirements in search_0 terms and if not, what will happen, can we degrade gracefully?

JR

Brock Pytlik wrote:
jmr wrote:
Brock - can you clarify for us, we are aiming to put the "Search across repos" into 2009.06, but if all depot servers need to be updated to support the new Search API is this realistic? Will we have a feature that won't work against the repos out there or will they all be updated in time for 2009.06?
I believe the depos we control, release/dev/pending/contrib well be updated to run search v1. Other than that, I can't make promises. I can't control when, for example, Blastwave chooses to update their depot servers. If you want to use search v1, yes, you need to rely on servers running search v1. I'll send out a webrev later today which has some updates so that if you're doing a single search, and if the search could be expressed in search_0 terms. Ie, there are no field, boolean, or phrase queries or pkg conversions etc it will fall back to search_0.

Brock

Brock >> "For remote search, you're going to have to run your own depot since no existing server supports search 1. The webrev I sent should work with search to a remote depot serving search/1."

JR






_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to