Hi,
 
In fact, with XPath, you can search for node values and search for a particular pattern in it. You are not limited to attributes values. But i don't think this kind of retrieval will be very fast.
 
This also may be not very efficient as you can't search for regular expressions in the content (i'am almost sure, be it should better be checked).
 
Regards,
 
   Cédric
----- Original Message -----
From: Lixin Meng
Sent: Thursday, February 27, 2003 4:04 AM
Subject: RE: Should I Use Xindice for web-searchable XML Docs?

I am not sure about the 'ranking'. My understanding, correct me if I am wrong, neither XPath nor Xindice is designed for full-text retrieval. So, the 'ranking' is out of question, if it means the relevancy of the return.
 
One thing you may want to know is that Xindice doesn't support XPath which refer to an attribute.
 
Lixin

-------------------------
XDataFinder, another way to browse XML database
http://www.brownpot.com/sw_profile.html

 
 
 
-----Original Message-----
From: C F [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 6:42 PM
To: xindice-users@xml.apache.org
Subject: RE: Should I Use Xindice for web-searchable XML Docs?

Thanks Bob,

Yes, that does help a lot as far as my concerns about performance.  I'd also like some feedback on just the overall idea of what I want to do with xindice.  Has anyone used it as kind of a 'search engine' like I'm talking about?  Is the XPath support in Xindice fairly robust?  I'm not sure yet whether or not it's an absolute requirement, but it seems like it would be pretty difficult to be able to *rank* search results.... anybody done anything like this with Xindice?

Thanks again!

 "Corcoran, Robert A B247" <[EMAIL PROTECTED]> wrote:

I've stress tested Xindice with 30000 documents (62 kb each). The
performance was acceptable, as long as I set up indexes relating to what I
was looking for. The indexes are essential. Also, you're going to probably
want to implement some type of connection pooling. I implemented connection
pooling based on the following three classes/interfaces in
org.apache.xindice.util: ObjectQueue (can be used right out of the box, very
nicely written), ObjectPool, and Poolable. It made a big difference in
performance.

It sounds like your xml is read only, so you don't have to worry about
transactions, locking, security, etc. If you are interested in implementing
some type of security, there is some nice code in the
org.apache.xindice.core.security package that you can use as a foundation.

Hope that helps.

Bob

> -----Original Message-----
> From: C F [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 4:34 PM
> To: xindice-users@xml.apache.org
> Subject: Should I Use Xindice for web-searchable XML Docs?
>
> Hello Everyone,
>
> I would appreciate it if I could get some advice on whether or not I
> should use xindice (and if not, then what). I'm just going to use some
> generalized numbers to give you a general idea of scale....
>
> Let's say I have about 1000 XML documents that average around 30kb in
> size. They are fairly 'deep' node-wise. Each document is actually
> metadata for other objects on the web site. I don't really care about any
> update facilities for these XML documents. All I want to do is have all
> these XML documents on the system available for advanced querying. I want
> to set up a bunch of HTML forms to allow the end-user to fill in the
> blanks to form all differents sorts of queries against the various data
> elements within the XML docs. I would use the search results to then grab
> the objects that those matching documents are describing. I don't expect
> this to be 'high traffic' anytime in the near future.... let's say ~1 hit
> per minute at the most.
>
> I know it's difficult for anyone to answer a definitive yes or no without
> more details on the queries, but I don't have that level of detail yet.
> Anyway, based on what I've said, is Xindice a possiblity for me? Or any
> other products I should be looking at? Open source is preferrable, but
> any low cost suggestions would also be appreciated (a couple commercial
> XML databases I looked at were $40k+ !!).
>
> I'm using Tomcat as my web server and PostgreSQL for database.
>
> Thanks!
>
>
>
> _____
>
> Do you Yahoo!?
> Yahoo! Tax Center
> -
> forms, calculators, tips, and more

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately notify the sender by e-mail at the address shown. This e-mail transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2003 CIGNA

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more

Reply via email to