Adam Retter | 1 Sep 2010 14:14

Re: how to start parallel jobs

> I think that a function should be better. It looks like a fork, which returns the processId of the new
started process.

I have added the function util:eval-async(...) into trunk for you as
revision 12622.

> At the same time, there is a way to create a listener? I'm thinking at a listening process, which waits for
events: I'm tryin to create a publishing/subscribing system ....

Why not just have the listener be a XQuery at the end of a URL
delivered by the REST Server?

> Paolo
>
>> -----Messaggio originale-----
>> Da: Adam Retter [mailto:adam <at> exist-db.org]
>> Inviato: martedì 31 agosto 2010 23:52
>> A: Paolo Di Pietro
>> Cc: exist-open <at> lists.sourceforge.net
>> Oggetto: Re: [Exist-open] how to start parallel jobs
>>
>> We could create a thread/fork function in the util package pretty easily for
>> something like this, we did also discuss in the past adding in a pragma for
>> such functionality - this may actually be a better approach. Let me know if a
>> pragma would be suitable or a function and I will get one added to trunk...
>>
>> Something like -
>>
>> (# exist:thread #) {
>>   (: some xquery :)
(Continue reading)

Adam Retter | 1 Sep 2010 14:20

Re: File locking issue

eXist is configured as a NetBeans project (amongst others), so you can
simply use the Team -> Checkout menu item in NetBeans and give it the
path https://exist.svn.sourceforge.net/svnroot/exist/trunk/eXist

The functions and classes of interest are -
org.exist.xmldb.RemoteXMLResource org.exist.xmldb.RemoteCollection and
validateXmlResource(...) and stroreXmlResource(...) in
org.exist.collections.Collection

Cheers Adam.

On 31 August 2010 23:02, Jason Liu <liu.canada <at> gmail.com> wrote:
> That was my initial guess too that an InputStream object is not releasing
> the file. I do develop/debug with NetBeans (PS. I love this IDE). I didn't
> have the eXist source so I could not step-in. I will try find the source and
> step through it when I have time.
>
> Thanks for your help Adam!
>
> Jason
>
>
> On Tue, Aug 31, 2010 at 17:58, Adam Retter <adam <at> exist-db.org> wrote:
>>
>> The only thing that I could imagine was that somewhere an InputStream
>> or Reader was not being correctly closed. I did read through the code
>> for the process but could not see that the issue is in eXist-db code
>> and I find it difficult to believe that it would be in the XMLReader
>> code itself as this is widely used.
>>
(Continue reading)

Lmhelp | 1 Sep 2010 15:51
Picon
Favicon

query - phrase - exact match


Hi,

I really need your help.

With the following query:

let $query :=
    <query>
        <phrase>cauldron boil</phrase>
    </query>
return //SPEECH[ft:query(., $query)]

I get all the "SPEECH" elements which contain the phrase "cauldron boil".

Suppose I want to find the "SPEECH" elements which are *exactly*
equal to "cauldron boil".
(When I mean *exactly* I mean with no leading or trailing words like in
"the beautiful cauldron boil in the forest").
How do I have to write the query?

Thanks. Please help.
--
Lmhelp
--

-- 
View this message in context: http://exist.2174344.n4.nabble.com/query-phrase-exact-match-tp2403202p2403202.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
(Continue reading)

xx rvt | 1 Sep 2010 16:22

FW: max Function

Any help please??????????


From: xxatzis <at> windowslive.com
To: exist-open <at> lists.sourceforge.net
Subject: max Function
Date: Tue, 31 Aug 2010 20:58:00 +0300

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;} Hi,

I have a problem using the max() function, on the following xml db

<Trainers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Program Files\eXist\webapp\xquery\Project\trainers.xsd">
    <TrainerInformation>
.
.
.
        <Competences>
            <Competence_Name>Make appropriate use of technology tools</Competence_Name>
            <Competence_Category>Technology</Competence_Category>
            <Competence_Level>2</Competence_Level>
        </Competences>
        <Competences>
            <Competence_Name>Demonstrate effective presentation skills</Competence_Name>
            <Competence_Category>Communication</Competence_Category>
            <Competence_Level>3</Competence_Level>
        </Competences>
    </TrainerInformation>
    <TrainerInformation>
.
.
.
        <Competences>
            <Competence_Name>Make appropriate use of technology tools</Competence_Name>
            <Competence_Category>Technology</Competence_Category>
            <Competence_Level>4</Competence_Level>
        </Competences>
        <Competences>
            <Competence_Name>Demonstrate effective presentation skills</Competence_Name>
            <Competence_Category>Communication</Competence_Category>
            <Competence_Level>1</Competence_Level>
        </Competences>
    </TrainerInformation>
</Trainers>

I want to find the maximum Competence_Level for a certain Competence_Name, so I wrote

{let $z:= max(for $Id in doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences
    where $Id/Competence_Name="Make appropriate use of technology tools"
    return $Id/Competence_Level)}

and it returns
-->2
-->4
and not the maximum number of the two., which is 4

Thank you for your help.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Adam Retter | 1 Sep 2010 16:53

Re: File locking issue

This is very strange, perhaps the issue was fixed in trunk?

I didnt actually mean for you to use eXist-db as a library in
NetBeans, more that you could use NetBeans to find the problem with
the file locking...

But if it works ;-)

On 1 September 2010 15:00, Jason Liu <liu.canada <at> gmail.com> wrote:
> Hi Adam,
>
> I have tried your suggestion, and checked out the project into my Netbeans
> and imported the project into my tool as a library, and it does not have the
> same file locking issue.
>
>
> Jason
>
>
> On Wed, Sep 1, 2010 at 08:20, Adam Retter <adam <at> exist-db.org> wrote:
>>
>> eXist is configured as a NetBeans project (amongst others), so you can
>> simply use the Team -> Checkout menu item in NetBeans and give it the
>> path https://exist.svn.sourceforge.net/svnroot/exist/trunk/eXist
>>
>> The functions and classes of interest are -
>> org.exist.xmldb.RemoteXMLResource org.exist.xmldb.RemoteCollection and
>> validateXmlResource(...) and stroreXmlResource(...) in
>> org.exist.collections.Collection
>>
>> Cheers Adam.
>>
>> On 31 August 2010 23:02, Jason Liu <liu.canada <at> gmail.com> wrote:
>> > That was my initial guess too that an InputStream object is not
>> > releasing
>> > the file. I do develop/debug with NetBeans (PS. I love this IDE). I
>> > didn't
>> > have the eXist source so I could not step-in. I will try find the source
>> > and
>> > step through it when I have time.
>> >
>> > Thanks for your help Adam!
>> >
>> > Jason
>> >
>> >
>> > On Tue, Aug 31, 2010 at 17:58, Adam Retter <adam <at> exist-db.org> wrote:
>> >>
>> >> The only thing that I could imagine was that somewhere an InputStream
>> >> or Reader was not being correctly closed. I did read through the code
>> >> for the process but could not see that the issue is in eXist-db code
>> >> and I find it difficult to believe that it would be in the XMLReader
>> >> code itself as this is widely used.
>> >>
>> >> Really you would need to step through it with something like the
>> >> NetBeans or Eclipse Java debuggers to understand where the lock is
>> >> acquired and why it is not released. Do you have any experience of
>> >> Java and debugging?
>> >>
>> >> Cheers Adam.
>> >>
>> >> On 31 August 2010 22:54, Jason Liu <liu.canada <at> gmail.com> wrote:
>> >> > Hi Adam,
>> >> >
>> >> > Yes, this is very odd, and it has bugged me for a few hours on a
>> >> > Sunday
>> >> > night.
>> >> >
>> >> > It is the java runtime placing the lock on the file. I used both
>> >> > unlockit
>> >> > and process explorer and confirmed the source.
>> >> >
>> >> > You are right, I am passing a File object to setContent.
>> >> >
>> >> > My document is at c:\checkout\tools\topic.xml
>> >> >
>> >> > Thanks for your thoughts!
>> >> >
>> >> >
>> >> > Jason
>> >> >
>> >> >
>> >> > On Tue, Aug 31, 2010 at 17:47, Adam Retter <adam <at> exist-db.org> wrote:
>> >> >>
>> >> >> Hmm this is strange, I cannot reproduce the issue here using
>> >> >> eXist-db
>> >> >> trunk version.
>> >> >>
>> >> >> I assume you are also passing a java.io.File object to the
>> >> >> setContent() function?
>> >> >>
>> >> >> I just copied the code from the example on the eXist-db website. I
>> >> >> am
>> >> >> testing this on Windows XP SP3 and Java 1.6.0_21-b07.
>> >> >>
>> >> >> Where are your documents that you are loading? I know there are some
>> >> >> restrictions in Windows with regards to the "My Documents" folder.
>> >> >>
>> >> >> Perhaps there is something else locking the file? Do you also have
>> >> >> it
>> >> >> open in an editor, or does your code perhaps also do something else
>> >> >> with this file?
>> >> >>
>> >> >> Cheers Adam.
>> >> >>
>> >> >> On 31 August 2010 14:26, Jason Liu <liu.canada <at> gmail.com> wrote:
>> >> >> > Hi Adam,
>> >> >> >
>> >> >> > Sorry, I could of included the information in my first email. Here
>> >> >> > are
>> >> >> > the
>> >> >> > info,
>> >> >> >
>> >> >> > OS: Win XP SP3
>> >> >> >
>> >> >> > Java:
>> >> >> > java version "1.6.0_17"
>> >> >> > Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
>> >> >> > Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
>> >> >> >
>> >> >> > eXist: (from version.txt)
>> >> >> > #eXist build info (updated using svnkit)
>> >> >> > #Wed Nov 11 17:37:17 CET 2009
>> >> >> > project.version=1.4.0
>> >> >> > project.build=20091111
>> >> >> > svn.revision=10440
>> >> >> >
>> >> >> >
>> >> >> > Thanks!
>> >> >> >
>> >> >> > Jason
>> >> >> >
>> >> >> >
>> >> >> > On Tue, Aug 31, 2010 at 08:59, Adam Retter <adam <at> exist-db.org>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> Which OS, Java platform and eXist-db version are you on please?
>> >> >> >>
>> >> >> >> On 29 August 2010 16:18, Jason Liu <liu.canada <at> gmail.com> wrote:
>> >> >> >> > Hi,
>> >> >> >> >
>> >> >> >> > Sorry to bug you guys again, but there is a client file locking
>> >> >> >> > issue
>> >> >> >> > that
>> >> >> >> > is bothering me for awhile, and I could not find any related
>> >> >> >> > info
>> >> >> >> > in
>> >> >> >> > the
>> >> >> >> > archive.
>> >> >> >> >
>> >> >> >> > I have a java client, that is storing content into eXist db
>> >> >> >> > using
>> >> >> >> > the
>> >> >> >> > following code (written based on the demo source code):
>> >> >> >> >
>> >> >> >> > XMLResource document = (XMLResource)
>> >> >> >> > collection.createResource(fileName,
>> >> >> >> > "XMLResource");
>> >> >> >> > document.setContent(file);
>> >> >> >> > System.out.print("storing document " + document.getId() +
>> >> >> >> > "...");
>> >> >> >> > collection.storeResource(document);
>> >> >> >> > System.out.println("ok.");
>> >> >> >> >
>> >> >> >> > The content stores properly, but after the content is stored, I
>> >> >> >> > want
>> >> >> >> > to
>> >> >> >> > remove the file from the disk, but it is somehow locked, and I
>> >> >> >> > could
>> >> >> >> > not
>> >> >> >> > find a way to release the lock the file unless I close the
>> >> >> >> > client.
>> >> >> >> > I looked around and try to find function like
>> >> >> >> > XMLResource.release(),
>> >> >> >> > or
>> >> >> >> > Collection.release(XMLResource), but no luck.
>> >> >> >> >
>> >> >> >> > Is there a function that release the file lock?
>> >> >> >> >
>> >> >> >> > Thanks!
>> >> >> >> >
>> >> >> >> > Jason
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > ------------------------------------------------------------------------------
>> >> >> >> > This SF.net Dev2Dev email is sponsored by:
>> >> >> >> >
>> >> >> >> > Show off your parallel programming skills.
>> >> >> >> > Enter the Intel(R) Threading Challenge 2010.
>> >> >> >> > http://p.sf.net/sfu/intel-thread-sfd
>> >> >> >> > _______________________________________________
>> >> >> >> > Exist-open mailing list
>> >> >> >> > Exist-open <at> lists.sourceforge.net
>> >> >> >> > https://lists.sourceforge.net/lists/listinfo/exist-open
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> Adam Retter
>> >> >> >>
>> >> >> >> eXist Developer
>> >> >> >> { United Kingdom }
>> >> >> >> adam <at> exist-db.org
>> >> >> >> irc://irc.freenode.net/existdb
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Adam Retter
>> >> >>
>> >> >> eXist Developer
>> >> >> { United Kingdom }
>> >> >> adam <at> exist-db.org
>> >> >> irc://irc.freenode.net/existdb
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Adam Retter
>> >>
>> >> eXist Developer
>> >> { United Kingdom }
>> >> adam <at> exist-db.org
>> >> irc://irc.freenode.net/existdb
>> >
>> >
>>
>>
>>
>> --
>> Adam Retter
>>
>> eXist Developer
>> { United Kingdom }
>> adam <at> exist-db.org
>> irc://irc.freenode.net/existdb
>
>

--

-- 
Adam Retter

eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Adam Retter | 1 Sep 2010 17:04

Re: max Function

2010/8/31 xx rvt <xxatzis <at> windowslive.com>:
> Hi,
>
> I have a problem using the max() function, on the following xml db
>
> <Trainers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="C:\Program
> Files\eXist\webapp\xquery\Project\trainers.xsd">
>     <TrainerInformation>
> .
> .
> .
>         <Competences>
>             <Competence_Name>Make appropriate use of technology
> tools</Competence_Name>
>             <Competence_Category>Technology</Competence_Category>
>             <Competence_Level>2</Competence_Level>
>         </Competences>
>         <Competences>
>             <Competence_Name>Demonstrate effective presentation
> skills</Competence_Name>
>             <Competence_Category>Communication</Competence_Category>
>             <Competence_Level>3</Competence_Level>
>         </Competences>
>     </TrainerInformation>
>     <TrainerInformation>
> .
> .
> .
>         <Competences>
>             <Competence_Name>Make appropriate use of technology
> tools</Competence_Name>
>             <Competence_Category>Technology</Competence_Category>
>             <Competence_Level>4</Competence_Level>
>         </Competences>
>         <Competences>
>             <Competence_Name>Demonstrate effective presentation
> skills</Competence_Name>
>             <Competence_Category>Communication</Competence_Category>
>             <Competence_Level>1</Competence_Level>
>         </Competences>
>     </TrainerInformation>
> </Trainers>
>
> I want to find the maximum Competence_Level for a certain Competence_Name,
> so I wrote
>
> {let $z:= max(for $Id in
> doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences
>     where $Id/Competence_Name="Make appropriate use of technology tools"
>     return $Id/Competence_Level)}
>
> and it returns
> -->2
> -->4
> and not the maximum number of the two., which is 4

Actually your above query would just give an error, but I get the
idea! I think maybe there is another part in your query that is
incorrect which is causing the result that you see, but anyway I would
rewrite your query as -

max(doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences[Competence_Name
eq "Make appropriate use of technology tools"]/Competence_Level)

Cheers Adam.

--

-- 
Adam Retter

eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Joe Wicentowski | 1 Sep 2010 17:06
Picon
Gravatar

Re: query - phrase - exact match

Hi Lea,

> Suppose I want to find the "SPEECH" elements which are *exactly*
> equal to "cauldron boil".
> (When I mean *exactly* I mean with no leading or trailing words like in
> "the beautiful cauldron boil in the forest").
> How do I have to write the query?

So you're saying you have a SPEECH element like:

  <SPEECH>cauldron boil<SPEECH>

And you want to find this?  Use straight-up XQuery:

  //SPEECH[. eq 'cauldron boil']

If you wanted to speed this query up, you could add a range index on
the SPEECH element, e.g. add the following to the relevant
collection.xconf file's index element:

  <create qname="SPEECH" type="xs:string"/>

Joe

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Jens Østergaard Petersen | 1 Sep 2010 17:11
Picon
Gravatar

Re: max Function

Hi xx rvt,

On Aug 31, 2010, at 7:58 PM, xx rvt wrote:

Hi,
Hi,

You get the right answer if you let the max() function work on the whole result set (it automatically casts it to a sequence of numeric values):

max(
for $Id in doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences
    where $Id/Competence_Name="Make appropriate use of technology tools"
    return $Id/Competence_Level
)

or closer to your sample

let $z := 
max(
for $Id in doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences
    where $Id/Competence_Name="Make appropriate use of technology tools"
    return $Id/Competence_Level
    )
    return $z

In your sample max() works on each iteration in the filtered result, returning the highest level in each iteration, and since there is only one level in each iteration, it returns all levels.

Cheers,

Jens

I have a problem using the max() function, on the following xml db

<Trainers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Program Files\eXist\webapp\xquery\Project\trainers.xsd">
    <TrainerInformation>
.
.
.
        <Competences>
            <Competence_Name>Make appropriate use of technology tools</Competence_Name>
            <Competence_Category>Technology</Competence_Category>
            <Competence_Level>2</Competence_Level>
        </Competences>
        <Competences>
            <Competence_Name>Demonstrate effective presentation skills</Competence_Name>
            <Competence_Category>Communication</Competence_Category>
            <Competence_Level>3</Competence_Level>
        </Competences>
    </TrainerInformation>
    <TrainerInformation>
.
.
.
        <Competences>
            <Competence_Name>Make appropriate use of technology tools</Competence_Name>
            <Competence_Category>Technology</Competence_Category>
            <Competence_Level>4</Competence_Level>
        </Competences>
        <Competences>
            <Competence_Name>Demonstrate effective presentation skills</Competence_Name>
            <Competence_Category>Communication</Competence_Category>
            <Competence_Level>1</Competence_Level>
        </Competences>
    </TrainerInformation>
</Trainers>

I want to find the maximum Competence_Level for a certain Competence_Name, so I wrote 

{let $z:= max(for $Id in doc("/db/CMS_Project/trainers.xml")/Trainers/TrainerInformation/Competences
    where $Id/Competence_Name="Make appropriate use of technology tools"
    return $Id/Competence_Level)}

and it returns 
-->2
-->4
and not the maximum number of the two., which is 4

Thank you for your help.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Attachment (smime.p7s): application/pkcs7-signature, 1935 bytes
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Adam Retter | 1 Sep 2010 17:15

Re: Getting error with REST PUT Request

> If I had a large query to
> execute instead of the simple query that I provided in my previous email,
> such as inserting a large xml document using xmldb:store, how would I use an
> http post query to do this?

You would simply HTTP POST an XML document containing your XQuery, see
here - http://www.exist-db.org/devguide_rest.html#N102E9

An example simple document might look like this -

<query xmlns="http://exist.sourceforge.net/NS/exist">
<text>current-dateTime()</text>
</query>

Which you could HTTP POST to the URL http://localhost:8080/exist/rest/db

Another option would be to write your XQuery and store it in a .xqy
file in the database itself, you could then invoke this directly by
URL and send any parameters/data you need for the query in the http
request.

e.g. http://localhost:8080/exist/rest/db/myQuery.xqy

However if you just want to store an XML file, you dont need XQuery at
all you can simply do a HTTP PUT of the XML document if you know the
URI, or otherwise a HTTP POST to the collection you wish to store the
document in.

What is wrong with the syntax I was using in my
> example?

It seemed to me that your were trying to use HTTP PUT to execute a
query! Queries are executed by HTTP POST or GET.

Thanks Adam.

--

-- 
Adam Retter

eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
Léa Massiot | 1 Sep 2010 17:12
Picon
Favicon

Re: query - phrase - exact match

Hi Joe,

Thank you for you answer.

 > <SPEECH>cauldron boil</SPEECH>

Yes, exactly.

 > Use straight-up XQuery:

No, I have a Lucene index (and I need to use it).

 > //SPEECH[. eq 'cauldron boil']

I need to do that but through the use of the Lucene index.

Please help. Thanks.
--
Léa

On 9/1/2010 5:06 PM, Joe Wicentowski wrote:
> Hi Lea,
>
>    
>> Suppose I want to find the "SPEECH" elements which are *exactly*
>> equal to "cauldron boil".
>> (When I mean *exactly* I mean with no leading or trailing words like in
>> "the beautiful cauldron boil in the forest").
>> How do I have to write the query?
>>      
> So you're saying you have a SPEECH element like:
>
>    <SPEECH>cauldron boil<SPEECH>
>
> And you want to find this?  Use straight-up XQuery:
>
>    //SPEECH[. eq 'cauldron boil']
>
> If you wanted to speed this query up, you could add a range index on
> the SPEECH element, e.g. add the following to the relevant
> collection.xconf file's index element:
>
>    <create qname="SPEECH" type="xs:string"/>
>
> Joe
>    

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Gmane