Windows tries to parse the whole command-line into pieces, the double
quotes stop it...

Mark

Grainne Reilly wrote:

> I am new to Xindice and found the same problem when using the command-line
> tools from windows.
>
> The following query:
> xindiceadmin xpath -c /db/lucent -q  /INVOICE/[BILL_INVOICE.bill_ref_no="2"]
> should work if changed to have the xpath query in double quotes and the
> literal '2' in single quotes:
> xindiceadmin xpath -c /db/lucent -q  "/INVOICE/[BILL_INVOICE.bill_ref_no='2']"
>
> Grainne.
>
> At 11:00 AM 05-03-02 -0700, you wrote:
> > From the command-line you have to be careful because
> >windows like to do funny things with the quotes, try single
> >quotes.   I haven't used the command-line tools for queries
> >yet, so maybe someone else comment on the proper
> >format.
> >
> >Mark
> >
> >Sreeni Chippada wrote:
> >
> > > Windows 2000.
> > >
> > > -----Original Message-----
> > > From: Mark J. Stang [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 05, 2002 12:28 PM
> > > To: [email protected]
> > > Subject: Re: indexing/xpath query question
> > >
> > > What platform are you running on?
> > >
> > > Mark
> > >
> > > Sreeni Chippada wrote:
> > >
> > > > Mark,
> > > >         It took me about 3 minutes to load about 2300 documents in 
> > > > 102MB.
> > > >         It took me 31 sec to index /INVOICE/BILL_INVOICE.bill_ref_no.
> > > >         Now, I deleted that collection and added a new collection with 
> > > > 22
> > > > documents/1MB(just to make it simple)
> > > >         I did not index the xpath. If run
> > > >                 xindiceadmin xpath -c /db/lucent -q
> > > > /INVOICE/BILL_INVOICE.bill_ref_no
> > > >         I get all the 22 documents.
> > > >         If I run
> > > >                 xindiceadmin xpath -c /db/lucent -q
> > > > /INVOICE/[BILL_INVOICE.bill_ref_no="2"]
> > > >         I get nothing. I hope this query is correct.
> > > >
> > > >         What do you mean by 'VM startup is "hiding" the result' ? Could
> > > this
> > > > be what is happening in my andn.
> > > >
> > > > Thanks,
> > > > Sreeni
> > > >
> ><snip>

Reply via email to