Class

razie.tconf

TagQuery

Related Doc: package tconf

Permalink

class TagQuery extends AnyRef

important concept - query/select a list of topics, based on inclusion/exclusion of tags

LOGICAL: a/b|c/d is a and (b or c) and d ACTUAL: a/b,c/d is a and (b or c) and d - in url , is not escaped, so easier to use than |

todo perf if tq contains a cat like below, optimize to search just those - it's done in DomGuardian

tag query tricks: if a tag uses an upper case like "Story" then it referes to the category and it optimizes things a lot in big reactors

ltags - all AND expressions atags - the AND expressions without OR otags qt - array of array - first is AND second is OR

NOTE the one way to do the search today is WikiSearch.getList

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TagQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TagQuery(tags: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def and(t: String): TagQuery

    Permalink

    create a new tags addinng the t

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val atags: Array[String]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def contains(t: String): Boolean

    Permalink

    is any of the t list of tags included in this query?

    is any of the t list of tags included in this query?

    used to count tags of a result not in the query

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def goodTag(x: String): Boolean

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val ltags: Array[String]

    Permalink
  17. def matches(u: DSpec): Boolean

    Permalink
  18. def matches(u: DBObject): Boolean

    Permalink
  19. def matches(t: Seq[String]): Boolean

    Permalink

    check if a set of tags matches

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val newqt: Array[Array[String]]

    Permalink
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val otags: Array[Array[String]]

    Permalink
  25. def public: Boolean

    Permalink
  26. val qt: Array[Array[String]]

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. val tags: String

    Permalink
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped