2007/3/13, jamie <<a href="mailto:jamiemcc@blueyonder.co.uk">jamiemcc@blueyonder.co.uk</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 2007-03-13 at 22:52 +0800, Fabrice Colin wrote:<br>> On 3/13/07, jamie <<a href="mailto:jamiemcc@blueyonder.co.uk">jamiemcc@blueyonder.co.uk</a>> wrote:<br>> > 1) in tracker the service type being searched is mandatory - I would
<br>> > prefer it to be a session property or even better a param in the<br>> > NewSearch method. If it remains part of the xml then that bit should be<br>> > mandatory in the xml schema/dtd<br>> >
<br>> Wouldn't it be possible for you guys to default to all service types, unless<br>> something like :<br>> <equals><br>> <property name="wasabi:service"/><br>> <string caseSensitive="false">EMail</string>
<br>> </equals><br>> is specified in the query ?<br>><br><br>Its possible for us to do a search everything but it would mean more<br>work for us as our current architecture is highly service dependant.<br>
<br>Unless there is a need to search everything (and Im not sure there is?)<br>its unlikely we will implement it.</blockquote><div><br>Just to clarify - in the Tracker jargon you would query a the service "audio" by adding the type attribute to the query element:
<br><br><request><br> <query type="audio"><br> <fullText><br> <string>hendrix</string><br> </fullText><br> </query><br></request><br></div><br>
As noted in another mail I don't see any problem defaulting to type="all" (this could be used for debugging both apps and search engines). With a little documentation people will know to avoid it generally, no?
<br><br>Cheers,<br>Mikkel<br></div>