Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8003805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:44:57+00:00 2026-06-04T16:44:57+00:00

I am using Products.AdvancedQuery to build a replacement LiveSearch mechanism for my site. So

  • 0

I am using Products.AdvancedQuery to build a replacement LiveSearch mechanism for my site. So far everything works perfectly, but the standard query performs a search on all available content-types, including the ones marked as non-searchable in the @@search-controlpanel.

I’d like AdvancedQuery to filter out the non-searchable ones dynamically, according to what is specified in @@search-controlpanel. How can I do this?

If AQ cannot do it, I can filter the results right after querying the catalog. I’d need a list of content-type names (or interfaces) that are marked as searchable. How can I obtain such a list?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:44:58+00:00Added an answer on June 4, 2026 at 4:44 pm

    Assuming you can obtain a tuple or list of the types that the control panel blacklists programmatically, this might be as simple as (imports elided):

    >>> query = myquery & AdvancedQuery.Not(AdvancedQuery.In(MY_TYPE_BLACKLIST_HERE)) 
    >>> result = getToolByName(context, 'portal_catalog').evalAdvancedQuery(query)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I sell digital products using Paypal website payment standard. Everything is ok except that
As an experiment we want to build our products using the Eclipse java compiler
I am using Magento 1.5 and have around 33,450 products on my site. 32000
We really want to start pushing-out products using the 3.5 framework but it is
I'm starting Android Market via my app to search for similar products using this
Using sqlite3, I have two tables: products, orders. I want to know how many
I am using hibernate to update 20K products in my database. As of now
We've been using the FCG for a while to brand products and tools as
I'm using a web service which returns a list of products. I created a
I am using codeigniter. My products page shows all the products we have and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.