Sunday, September 21, 2008

Desktop search hackfest 1st day

First proper day of desktop search hackfest behind. We had good progress on the most important areas already and we are making now similar progress on the second day. The biggest one was that we agreed on the ontology changes that have been raised with variable solution candidates now for a year. The solution is clean and simple. It is future oriented by allowing proper object relations in the ontology, but still retaining the possibility to be efficient on the cases where you are only interested in a lablel-like property of the relationship rather than the actual object in the relation.

Check out mikkels post on the subject

Today we have also been able to extend the query api to reflect this ontological change. We also agreed to add proper support of nested queries that truly makes the search api powerful. Biggest issues remaining currently are in the area of live queries. Here is a very good example of a real world ;) use case. By the way, using Gobby (gnome application) makes document collaboration astonishingly easy.



<!--
Maybe we could try to draft a spec as well? Maybe just some notes?
Because it's still not really clear what everyone up to because everyone is up to slightly different things.
-->

<!--
Match all documents with keyword "biology" which author comes from the
same country as any person with name Jim.
-->
<query content="xesam:Document" hitFields="xesam:title, xesam:author/xesam:givenName">

<and>

<equals>
<field name="xesam:keyword"/>
<string>biology</string>
</equals>

<equals>
<field name="xesam:author/xesam:country"/>
<field name="xesam:author/xesam:birthdate"/>
<query content="xesam:Person" hitFields="xesam:country, xesam:birthdate">
<and>
<equals>
<field name="xesam:givenName"/>
<string>Kim</string>
</equals>
<equals>
<field name="xesam:gender"/>
<string>male</string>
</equals>
<greaterThan>
<field name="xesam:birthdate"/>
<date>1979-12-24</date>
</greaterThan>
</and>
</query>
</equals>

</and>

</query>

3 comments:

  1. Of course we did change the query language after more deliberation on the following sessions. They are mostly related to how the query fields are defined and on how inner queries should only ever be allowed to return one field instead of multiple fields.

    ReplyDelete
  2. Anonymous13:07

    Hey Urho! I just discovered you blog browsing around for possible Xesam related stuff. Are you not aggregated on the Maemo planet?

    You feed has been duly added to my RSS reader in any case :-)

    ReplyDelete
  3. Anonymous19:02

    You smart and buy Sword of the New World Vis, you play the game is right, Sword of the New World Gold. you have a wonderful time, buy vis, I have it cheap snw vis, I buy Sword of the New World money.

    I find job Tales Of Pirates gold, this is a nice work andTales Of Pirates money. I do not want to rely on my parents cheap Tales Of Pirates gold, They look after me so long time, they pay me too much and very tired buy Tales Of Pirates Gold.

    ReplyDelete