You are here: Foswiki>Tasks Web>Item11235 (17 Dec 2011, GeorgeClark)Edit Attach

Item11235: Remove mention of metatext attribute in System.QuerySearch doc which was never implemented

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.4
Target Release: patch
Applies To: Engine
Component: SEARCH
Branches: Release01x01 trunk
Reported By: LarsEik
Waiting For:
Last Change By: GeorgeClark
SEARCH for metatext=~'something' doesn't give any result, as the doc says. Search for 'text' works. I've changed from DBQUERY to trunk and also run MongoDBPlugin. It could be mongo related. I've tried with store switched to default query/brute in configure but still no results. Cannot see anything in the default working/logs.

-- LarsEik - 03 Nov 2011

I don't know 'tests' but am told there's a test for metatext but also that the only occurences of metatext in the test and the System/QuerySearch topic. Anyone has info on that metatext?

-- LarsEik - 05 Nov 2011

The test code we have actually mentions a variable named $metatext, which has nothing to do with the missing QuerySearch feature.

Before I we go removing any mention of metatext in the doc, can you provide a use-case that really requires it?

For example: is it sufficient to convert your queries from metatext~'*foo*' to fields.value~'*foo*'?

-- PaulHarvey - 08 Nov 2011

Crawford, according to git blame, your distro:fac616e444e0 in Item846 added this mysterious documentation of metatext in QuerySearch - is deleting this text the right way forward?

-- PaulHarvey - 08 Nov 2011

aye

-- CrawfordCurrie - 08 Nov 2011
 

ItemTemplate edit

Summary Remove mention of metatext attribute in QuerySearch doc which was never implemented
ReportedBy LarsEik
Codebase trunk
SVN Range
AppliesTo Engine
Component SEARCH
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:29753c8eea2c distro:8ebbcedfd78d
TargetRelease patch
ReleasedIn 1.1.4
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:29753c8eea2c
Release01x01Checkins distro:8ebbcedfd78d
Topic revision: r8 - 17 Dec 2011, GeorgeClark
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