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

  • Home
  • SEARCH
  • 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 6200305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:20:33+00:00 2026-05-24T04:20:33+00:00

adding the words AND, OR, NOT to a search query raises an error like

  • 0

adding the words AND, OR, NOT to a search query raises an error like this one in Plone 4.1:

2011-07-28 14:52:46 ERROR Zope.SiteErrorLog 1311882766.090.999612944712 http://localhost:8080/Plone/livesearch_reply
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFCore.FSPythonScript, line 130, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 73, in livesearch_reply
   - <FSPythonScript at /Plone/livesearch_reply>
   - Line 73
  Module AccessControl.ZopeGuards, line 373, in guarded_apply
  Module AccessControl.ZopeGuards, line 395, in builtin_guarded_apply
  Module Products.CMFPlone.CatalogTool, line 430, in searchResults
  Module Products.ZCatalog.ZCatalog, line 604, in searchResults
  Module Products.ZCatalog.Catalog, line 902, in searchResults
  Module Products.ZCatalog.Catalog, line 528, in search
  Module Products.ZCTextIndex.ZCTextIndex, line 222, in _apply_index
  Module Products.ZCTextIndex.QueryParser, line 135, in parseQuery
  Module Products.ZCTextIndex.QueryParser, line 175, in _parseOrExpr
  Module Products.ZCTextIndex.QueryParser, line 193, in _parseAndExpr
  Module Products.ZCTextIndex.QueryParser, line 210, in _parseNotExpr
  Module Products.ZCTextIndex.QueryParser, line 223, in _parseTerm
  Module Products.ZCTextIndex.QueryParser, line 242, in _parseAtom
  Module Products.ZCTextIndex.QueryParser, line 170, in _get
  Module Products.ZCTextIndex.QueryParser, line 156, in _require
ParseError: Token 'ATOM' required, u'AND' found

can someone explain what’s the logic behind searches in Plone’s LiveSearch? is there any way to avoid this or may I just ignore these messages from log file?

  • 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-05-24T04:20:34+00:00Added an answer on May 24, 2026 at 4:20 am

    Ignore them, it is a ZCTextIndex behaviour. The error is just logged and the query returns nothing. Being “word” somewhere in your plone site and indexed, try to search in plone something like “AND word OR” and see nothing returns even if “word” is there. Try to search only “word” and you’ll see the result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to split a string up into words and punctuation, adding the punctuation
I’ve spent the past hour search the web for possible solution, maybe I’m not
Preface: This has become a quite a long post. While I'm not new to
This seems like it should be simple, but I can't figure out how to
I'm using a TableAdapter for the first time and adding a custom query to
Meta note: it is impossible to search for the word this. I've just run
I have an xml document like this... this xml doc provides content for webpages
This seems like a foolishly simple problem. I'm searching through a list of users,
I have code that works great for adding a button to the toolbar: NSArray*
I am adding a custom background for my UINavigationBar. It works fine as long

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.