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 8533565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:59:24+00:00 2026-06-11T09:59:24+00:00

We have uploaded tons of files via FTP to a Plone intranet we’re deploying.

  • 0

We have uploaded tons of files via FTP to a Plone intranet we’re deploying. This step does not set the titles of the files; so searching for a file called: “invoice_policy.odt” it won’t show up in a search by “invoice policy” (two words); cause the index for id’s is a field index.

Moreover, the default plone lexicon does not split words by underscores, so setting the title to be just the id won’t help either.

So, in order to improve our search recall, we have scripted (taken from several sources including some answers in StackOverflow) a quite simple normalization script: https://gist.github.com/3701401

However, after applying it to near 8000 files I see that the titles have changed, but the files still appear in the navigation with the id “invoice_policy.odt”; I have to edit the file and then save it in order for it to appear with its title in the navigation.

I have uploaded three images to flickr to show the process:

  • Image 1. The (last) file in its folder.
  • Image 2. When I click the file you may see it has a title (normalized with our script)
  • Image 3. I just clicked the title and the click the Save and went back to its containing folder. Now it’s been shown properly.

Do I need to do (or undo) something in my script for it to work properly. Furthermore, although I (think I) enclosed each rename in its own transaction, I don’t see any transaction in the Undo tab of the ZMI. I guess it’s because it’s not associate to a real request, is that so? Can I fix it?

Best regards,

Manuel.

  • 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-11T09:59:26+00:00Added an answer on June 11, 2026 at 9:59 am

    You need to reindex the items, either one by one in your script, or in batch at the end. http://collective-docs.readthedocs.org/en/latest/searching_and_indexing/indexing.html will probably help.

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

Sidebar

Related Questions

I have uploaded this data to rackspace cloud files: {foo: bar} It lives at
what's the problem there, I have uploaded this video to server, but now its
I have tested this on my development computer, but now I have uploaded everything
In asp.net, we have uploaded a .jpeg file and saved this as bitmap image
I have uploaded my website on the server but it says resource not found.
I'm a branch office worker and have uploaded my existing repo to the ftp
I have uploaded 3 files: Provisioning file plist file Ipa file Provisioning file &
I have uploaded my localhost files to my website but it is showing me
I have uploaded all of the MediaElement files, in the original directories, but in
I have uploaded a file to a Linux computer. I do not know its

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.