You are here: Foswiki>Tasks Web>Item10721 (10 Aug 2011, PaulHarvey)Edit Attach

Item10721: How does MongoDBPlugin handle indexes and registerMETA?

pencil
Priority: Low
Current State: Duplicate
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin, SemanticLinksPlugin, core, registerMeta
Branches:
Reported By: PaulHarvey
Waiting For: SvenDowideit
Last Change By: PaulHarvey
I added a new meta type in SemanticLinksPlugin, META:LINK, and I notice it's not being indexed (actually, none of the SL types are).

Should MongoDBPlugin automatically add indexes somehow?

If not, can we please add a rest handler?

-- PaulHarvey - 07 May 2011

I should note that none of the times in the X-Foswiki-Monitor headers are significant, so far smile For example, it's possible I've made a mistake in manually adding indexes in Mangroves, but nonetheless the time improvement seemed to be less than 1s out of 20:

%SEARCH{
  "links[scope='external']"
  type="query"
  web="Mangroves"
  recurse="off"
  header="| *Topic* | *No. external links* |"
  format="| [[$web.$topic][$topic]] | $percntQUERY{\"length(('$web.$topic'/links[scope='external'].address), '') - 1\"}$percnt |"
}%

And setting web="all" recurse="on" takes ~33s rather than ~20s.

-- PaulHarvey - 08 May 2011

In case anybody is wondering, the empty list item passed into length() is to avoid length() reporting the string length, instead of list length.

-- PaulHarvey - 08 May 2011

Lowered to low, so we can get a better picture of bug priorities for MongoDBPlugin

-- PaulHarvey - 13 May 2011

It would be marvelous if we could re-set indexes via a rest handler

-- PaulHarvey - 07 Jul 2011

Duplicate of Item10437

-- PaulHarvey - 10 Aug 2011
 

ItemTemplate edit

Summary How does MongoDBPlugin handle indexes and registerMETA?
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component MongoDBPlugin, SemanticLinksPlugin, core, registerMeta
Priority Low
CurrentState Duplicate
WaitingFor SvenDowideit
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r6 - 10 Aug 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy