Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Global indexing view

#18

We need a view that will allow to query documents using find(:slot => ... , :another_slot => ...) form; we can start with a simplistic approach (no ORs, etc.) just like we have in master.

We also need #find methods use it for documents search

Reported by Yurii Rashkovskii · April 29th, 2008 @ 07:15 AM

State: open
Milestone: 0.0.3
Assigned to: Oleg Andreev Oleg Andreev

Activity

  1. Yurii Rashkovskii
    Yurii Rashkovskii
    • Assigned user set to Yurii Rashkovskii

    April 29th, 2008 @ 10:15 AM

  2. Oleg Andreev
    Oleg Andreev
    • State changed from new to open
    • Assigned user changed from Yurii Rashkovskii to Oleg Andreev

    April 29th, 2008 @ 09:18 PM

  3. Yurii Rashkovskii
    Yurii Rashkovskii

    do you want me to takeover this ticket?

    April 30th, 2008 @ 07:59 AM

  4. Oleg Andreev
    Oleg Andreev

    Raw ideas:

    0) Semantics are the same, MySQL has: try the longest keys prefix to use an index, then filter the data with a brute force.

    1) DSL: index_slots :a, :b, [:x, :y]

    2) find(:a => 1) uses the index upon :a, find(:x=>) or find(:x=>, :y=>) uses the index upon both slots :x and :y.

    3) Don't try to put hash values into the key: there's absolutely no sense in searching by the hash value (also, ordering issues arise).

    In-depth search (kinda xpath or inverted index species) can be implemented in a different configurable views.

    May 1st, 2008 @ 07:05 PM

  5. Yurii Rashkovskii
    Yurii Rashkovskii

    just as a crazy idea: will it make any sense to define some slots indexable when they're queried first time?

    May 23rd, 2008 @ 12:08 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.