|
|
Choosing A Webhost: |
Re: After creating index nothing is found anymore: msg#00175text.xml.xindice.user
Have you tried running the unit tests? The test IndexedSearchTest in java/tests/src/org/apache/xindice/integration/client/services includes a number of tests that test not only whether or not indexed searching is working, but also test whether or not indexing speeds up the query. One of the tests uses the following query: //phone[starts-with(@call, 'n')] That is very similar to the query used in: > If I'm doing a search like "//document[@src='170']", everything works fine, > except that it takes the same time as without an index. The IndexedSearchTest indexer for this case uses the pattern "*@call" to speed up the //phone[starts-with(@call, 'n')] query. The pattern says index all "call" Attributes regardless of what Element they belong to. Your indexer is defined with pattern "link@viewid". Since it does not index ALL possible viewid Attributes (only the viewid Attribute of the link Element) Xindice cannot use this index to search all occurrences of viewid Attributes. Thus, you see no speedup. Try pattern "*@viewid" instead. I would expect to see the IndexedSearchTest fail if there is a problem. Otherwise, perhaps you have a corrupted index. Try removing it and reindexing. -Terry Sascha Kulawik wrote: Hello,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Having trouble setting up xindice, Upayavira |
|---|---|
| Next by Date: | RE: After creating index nothing is found anymore, Sascha Kulawik |
| Previous by Thread: | After creating index nothing is found anymore, Sascha Kulawik |
| Next by Thread: | RE: After creating index nothing is found anymore, Sascha Kulawik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |