Spotlight not returning any results
Hi, when I use spotlight at the top right corner of the desktop to search for anthing I no longer get any results.
Since then I have tried the following with no luck:
I repaired permisssions
I downloaded a program called onyx and executed the rebuild index button
I deselected all 14 categories in the spotlight preferences and reselected them
I drug the harddrive to the privacy tab, closed, reopened preferences and drug the harddrive off - this caused a reindex but still no results.
I rebooted a few times.
Still spotlight is not showing any results. I see that others have formatted an reinstalled but I do not want to do this!
I next dug into Metadata and found that it was a
script calling these three key lines:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServic es.framework/Versions/A/Support/lsregister -r -domain system
/usr/bin/touch /var/run/.metadataRunning
/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/ Versions/A/Support/mds -bootstrap
all three of these ran ok for me
what is interesting though, in /System/Library/StartupItems/Metadata the line
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServic es.framework/Versions/A/Support/lsregister -r -domain system
was commented out...
I uncommented it but Spotlight is still broken.
in addition to the previously suggested fixes, I zapped my PRAM but to no avail.
On my powerbook when I boot up, the Spotlight icon does nothing when clicked on. If I log out and log in again Spotlight works :P
So now in addition to being frustrating to use it appears now Spotlight is quite flakey.
I hope the new stuff Steve did not mention at WWDC06 is a working, user friendly find feature.
In the mean time I still need to find stuff!!!
Apple? Hello? any ideas?
Has anyone tried the app Spotless?
http://www.fixamacsoftware.com/software/spot/
Did you notice Spotlight wierdness after using this app?
Similar Messages
-
Bing based federated result sources not returning any results for non-English languages
I have a result source with this query:
http://www.bing.com/search?q={?searchterms} language:fr site:msdn.microsoft.com&format=rss&count=50&first={startIndex}
This used to give me 40-50 results for common terms like download, blog etc.
From today (7/14) IST, this source does not return any results. There are no results if I execute this query directly in IE either.
Same behavior observed for: language:es, language:de etc.
I do however get results as expected for language:en.
Any idea what the issue might be?Hi Swapnil,
According to your description, my understanding is that no results returned when searching with non-English in the Result Source query.
I tested the same scenario per your post and I got the same results as you got.
I recommend to change the language:fr in the Result Source query to be lang=fr to see if the issue still occurs.
More references:
http://kbdump.com/sharepoint-2013-opensearch-search-twitter-facebook-wikipedia-page/
http://richardstk.com/2013/11/08/sharepoint-2013-federated-search-to-bing/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
I have a Xquery statement that works as expected on Oracle 10.2.0.5 but does not return any results on Oracle 10.2.0.4.
Is this the result of a badly written query? A bug in 10.2.0.4?
Is there a way to rewrite the query so that is does work on 10.2.0.4?
Testcode:
declare
l_xml xmltype;
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.*
from xmltable(xmlnamespaces(default 'http://www.opengis.net/wmts/1.0'
,'http://www.opengis.net/ows/1.1' as "ows"
,'http://schemas.opengis.net/gml' as "gml"
,'http://www.w3.org/1999/xlink' as "xlink"
,'http://www.w3.org/2001/XMLSchema-instance' as "xsi")
,'for $d in //Layer[TileMatrixSetLink/TileMatrixSet="EPSG:28992"] return $d' passing
p_xml columns title varchar2(100) path 'ows:Title'
,format varchar2(100) path 'Format'
,style xmltype path 'Style') as t;
begin
l_xml := xmltype.createxml('<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<Contents>
<Layer>
<ows:Title>brtachtergrondkaart</ows:Title>
<ows:Identifier>brtachtergrondkaart</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>top10nl</ows:Title>
<ows:Identifier>top10nl</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>bgt</ows:Title>
<ows:Identifier>bgt</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
</Contents>
</Capabilities>');
for r_layer in c_layer(l_xml)
loop
dbms_output.put_line(r_layer.title);
end loop;
end;Result on 10.2.0.5:
brtachtergrondkaart
top10nl
bgtThis one's strange indeed.
I can reproduce on 10.2.0.4 and one of the following seems to fix it :
1) Specifying the column list in the SELECT, instead of t.* :
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.title, t.format, t.style
from xmltable(or,
2) Using an extended FLWOR expression :
for $d in //Layer
where $d/TileMatrixSetLink/TileMatrixSet = "EPSG:28992"
return $dMaybe you've already noticed but the problem only occurs within a PL/SQL context.
The same query run from SQL is OK. -
Basic NOT EXISTS query not returning any results
DB Version: 10gR2
One of our tables in the test schema is having less number of columns than the PROD shema.
To determine which are missing columns in this table in Test schema i did the following.
-----In Test Schema
CREATE TABLE XYZ2
(COL1 NUMBER); ----------only one column
SQL > CREATE TABLE tables_test_list AS SELECT TABLE_NAME,COLUMN_NAME FROM USER_TAB_COLS;
Table created.--- In the prod schema
SQL> CREATE TABLE XYZ2
2 (COL1 NUMBER,
3 COL2 NUMBER ----------- same table name with an extra column
4 );
Table createdAnd from the PROD schema i execute the following SQL to determine what are the columns that are missing in the TEST schema
select column_name from User_Tab_Cols outer
where table_name='XYZ2'
and not exists (select 1 from TEST_SCHEMA.tables_test_list inner where outer.TABLE_NAME=inner.TABLE_NAME )But the above query is not returning any results. Any idea why?Actually, the example from the link I posted earlier:
[email protected]> (
2 select 'IN T1, NOT T2', column_name,data_type,data_length
3 from user_tab_columns
4 where table_name = 'T1'
5 MINUS
6 select 'IN T1, NOT T2', column_name,data_type,data_length
7 from user_tab_columns
8 where table_name = 'T2'
9 )
10 UNION ALL
11 (
12 select 'IN T2, NOT T1', column_name,data_type,data_length
13 from user_tab_columns
14 where table_name = 'T2'
15 MINUS
16 select 'IN T2, NOT T1', column_name,data_type,data_length
17 from user_tab_columns
18 where table_name = 'T1'
19 )
20 / -
Table-Valued Function not returning any results
ALTER FUNCTION [dbo].[fGetVendorInfo]
@VendorAddr char(30),
@RemitAddr char(100),
@PmntAddr char(100)
RETURNS
@VendorInfo TABLE
vengroup char(25),
vendnum char(9),
remit char(10),
payment char(10)
AS
BEGIN
insert into @VendorInfo (vengroup,vendnum)
select ks183, ks178
from hsi.keysetdata115
where ks184 like ltrim(@VendorAddr) + '%'
update @VendorInfo
set remit = r.remit
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as remit, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@RemitAddr) + '%'
and ks189 = 'R') r
on ven.vengroup = r.vengroup and ven.vendnum = r.vendnum
update @VendorInfo
set payment = p.payment
from
@VendorInfo ven
INNER JOIN
(Select ksd.ks188 as payment, ksd.ks183 as vengroup, ksd.ks178 as vendnum
from hsi.keysetdata117 ksd
inner join @VendorInfo ven
on ven.vengroup = ksd.ks183 and ven.vendnum = ksd.ks178
where ksd.ks192 like ltrim(@PmntAddr) + '%'
and ks189 = 'P') p
on ven.vengroup = p.vengroup and ven.vendnum = p.vendnum
RETURN
END
GO
Hi all,
I'm having an issue where my Table-Valued Function is not returning any results.
When I break it out into a select statement (creating a table, and replacing the passed in parameters with the actual values) it works fine, but with passing in the same exact values (copy and pasted them) it just retuns an empty table.
The odd thing is I could have SWORN this worked on Friday, but not 100% sure.
The attached code is my function.
Here is how I'm calling it:
SELECT * from dbo.fGetVendorInfo('AUDIO DIGEST', '123 SESAME ST', 'TOP OF OAK MOUNTAIN')
I tried removing the "+ '%'" and passing it in, but it doesn't work.
Like I said if I break it out and run it as T-SQL, it works just fine.
Any assistance would be appreciated.Why did you use a proprietary user function instead of a VIEW? I know the answer is that your mindset does not use sets. You want procedural code. In fact, I see you use an “f-” prefix to mimic the old FORTRAN II convention for in-line functions!
Did you know that the old Sybase UPDATE.. FROM.. syntax does not work? It gives the wrong answers! Google it.
Your data element names make no sense. What is “KSD.ks188”?? Well, it is a “payment_<something>”, “KSD.ks183” is “vendor_group” and “KSD.ks178” is “vendor_nbr” in your magical world where names mean different things from table to table!
An SQL programmer might have a VIEW with the information, something like:
CREATE VIEW Vendor_Addresses
AS
SELECT vendor_group, vendor_nbr, vendor_addr, remit_addr, pmnt_addr
FROM ..
WHERE ..;
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
cm:search is not returning any result when logical operator '!' is used.
<cm:search is not returning any result when logical operator '!' is used.
I am using BEA 9.1 content management services API. When I run the following query I am not receiving any results. Also no error or exceptions are seen in the weblogic or cmspi log.
The query is <cm:search id="docs" query="!(object_name like 'Sport*')" />HI cam
Thanks for your reply, but i found the problem it was because my server administrator password has changed by network guys... and because of it crawler unable to access the content
I wrote my solution here i hope it will help other people
http://bvs-sharepoint.blogspot.com/2015/03/sharepoint-search-is-not-returning.html
RB -
Directory - Org Unit Listing Not Returning Any Results
Hello Everyone,
We are using Nakisa v4.1 on EHP7.0 at the moment. In the user interface, Directory > Org Unit Listing is not returning any results while Employee and Position Listings are working just fine.
What would be the cause ?
Appreciate your help,
Kind regardsHi,
I am using a live build copied from SAP_Live_RFC.
Below you can find what the cds.log says when I try to search an organizational unit.
2289. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2290. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, deneme]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2291. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=deneme , decoded= deneme
2292. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2293. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2294. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2295. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 32ms
2296. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 86ms
2297. 18 Apr 2014 07:05:22 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
2298. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2299. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, test]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2300. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=test , decoded= test
2301. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2302. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2303. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 28ms
2304. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2305. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 73ms
2306. 18 Apr 2014 07:05:25 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
2307. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: setsearch. For processor OrgChartAppEventProcessor
2308. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:setsearch [ORGUNIT_NAME, contains, kalite]. For processor OrgChartAppEventProcessor. Against controller OrgChartCtr
2309. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Strings.decodeURIComponent , encoded=kalite , decoded= kalite
2310. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - ...Request is not required to be verified. For action: updateNotifications. For processor NotificationsProcessor
2311. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - Invoking action:updateNotifications []. For processor NotificationsProcessor. Against controller NotificationsCtr
2312. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - updateNotifications on NotificationsProcessor took: 1ms
2313. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - FunctionRunner.executeFunctionDirect: /NAKISA/OC_OU_LISTING took: 43ms
2314. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - setsearch on OrgChartAppEventProcessor took: 94ms
2315. 18 Apr 2014 07:05:28 INFO com.nakisa.Logger - com.nakisa.framework.utility.PostRequestActionRegister.callAction(PostRequestAction) : Calling: PostRequestAction [class=com.nakisa.framework.data.commandProcessor.impl.sap.FunctionRunner, method=releaseAllClients]
Regards. -
Replenishment - Msg WT134: Store order processing did not return any result
During the Replenishment run using TCODE: WRP1 following error is being encountered
<b>Msg WT134: Store order processing did not return any result</b>
The error is reported when more than 9 articles are being used.impelemented the oss note: 979935
-
Filter item limits - search not returning any results with large number of elements otherwise ok
Hi,
We are working through a problem we've encountered with Azure Search. We are building a filter string based on an "id eq 'xxx' or id eq 'ccc' or id eq 'vvv' etc. The id's are provided in a collection and we loop through, building the string until it's
ready to apply.
We are using 2015-02-28 preview at the moment.
We are encountering a situation where, after approximately 20 id's Azure Search doesn't return any results, nor does it appear to return any error code. I'm pretty sure that the url length is less than 8K.
Is there any limit on the number of filter elements in a query?We followed up offline.
The symptom in this case was a 200 response with no body. The underlying cause is a URL parsing bug that tries to interpret colons in the query string as the delimiter of a URL scheme (like https:), but with a hard length limit of 1KB. We will work
on a fix for both the underlying URL parsing issue and the issue that caused it to surface as a body-less 200.
In the meantime, the workaround is to put colons as close to the beginning of the URL query string as possible. Specifically, putting $filter and facets first, and putting expressions with colons within those first, will mitigate this in most cases.
Note that the .NET SDK puts $filter and facets near the beginning of the query string by default, so if you're consuming Azure Search you might want to give it a try:
http://www.nuget.org/packages/Microsoft.Azure.Search/ -
XQuery not returning any results when doc contains ENTITY refs
Dear Forum members,
I am a bdbxml newbie so please be gentle.
I am trying to run xqueries against a TEI P5 document on bdxml 2.4.13 using Oxygen 9 (I'm also using Python and the API - it's not working either)
My XML contains transcripts of poems written in medieval Welsh. There are a lot of Entity references which I am including at the start of the document as:
<?oxygen RNGSchema="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/teilite.rng" type="xml"?>
<!DOCTYPE TEI [
<!ENTITY aacute "á"> <!-- LATIN SMALL LETTER A WITH ACUTE -->
<!ENTITY Aacute "Á"> <!-- LATIN CAPITAL LETTER A WITH ACUTE -->
<!ENTITY acirc "â"> <!-- LATIN SMALL LETTER A WITH CIRCUMFLEX -->
<!ENTITY Acirc "Â"> <!-- LATIN CAPITAL LETTER A WITH CIRCUMFLEX -->
<!ENTITY agrave "à"> <!-- LATIN SMALL LETTER A WITH GRAVE -->
<!ENTITY Agrave "À"> <!-- LATIN CAPITAL LETTER A WITH GRAVE -->
<!ENTITY aring "å"> <!-- LATIN SMALL LETTER A WITH RING ABOVE -->
<!ENTITY Aring "Å"> <!-- LATIN CAPITAL LETTER A WITH RING ABOVE -->
<!ENTITY atilde "ã"> <!-- LATIN SMALL LETTER A WITH TILDE -->
<!ENTITY Atilde "Ã"> <!-- LATIN CAPITAL LETTER A WITH TILDE -->
<!ENTITY auml "ä"> <!-- LATIN SMALL LETTER A WITH DIAERESIS -->
<!ENTITY Auml "Ä"> <!-- LATIN CAPITAL LETTER A WITH DIAdERESIS -->
<!ENTITY aelig "æ"> <!-- LATIN SMALL LETTER AE -->
<!ENTITY AElig "Æ"> <!-- LATIN CAPITAL LETTER AE -->
<!ENTITY ccedil "ç"> <!-- LATIN SMALL LETTER C WITH CEDILLA -->
<!ENTITY Ccedil "Ç"> <!-- LATIN CAPITAL LETTER C WITH CEDILLA -->
<!ENTITY eth "ð"> <!-- LATIN SMALL LETTER ETH -->
<!ENTITY ETH "Ð"> <!-- LATIN CAPITAL LETTER ETH -->
<!ENTITY eacute "é"> <!-- LATIN SMALL LETTER E WITH ACUTE -->
<!ENTITY Eacute "É"> <!-- LATIN CAPITAL LETTER E WITH ACUTE -->
<!ENTITY ecirc "ê"> <!-- LATIN SMALL LETTER E WITH CIRCUMFLEX -->
<!ENTITY Ecirc "Ê"> <!-- LATIN CAPITAL LETTER E WITH CIRCUMFLEX -->
<!ENTITY egrave "è"> <!-- LATIN SMALL LETTER E WITH GRAVE -->
<!ENTITY Egrave "È"> <!-- LATIN CAPITAL LETTER E WITH GRAVE -->
<!ENTITY euml "ë"> <!-- LATIN SMALL LETTER E WITH DIAERESIS -->
<!ENTITY Euml "Ë"> <!-- LATIN CAPITAL LETTER E WITH DIAERESIS -->
<!ENTITY iacute "í"> <!-- LATIN SMALL LETTER I WITH ACUTE -->
<!ENTITY Iacute "Í"> <!-- LATIN CAPITAL LETTER I WITH ACUTE -->
<!ENTITY icirc "î"> <!-- LATIN SMALL LETTER I WITH CIRCUMFLEX -->
<!ENTITY Icirc "Î"> <!-- LATIN CAPITAL LETTER I WITH CIRCUMFLEX -->
<!ENTITY igrave "ì"> <!-- LATIN SMALL LETTER I WITH GRAVE -->
<!ENTITY Igrave "Ì"> <!-- LATIN CAPITAL LETTER I WITH GRAVE -->
<!ENTITY iuml "ï"> <!-- LATIN SMALL LETTER I WITH DIAERESIS -->
<!ENTITY Iuml "Ï"> <!-- LATIN CAPITAL LETTER I WITH DIAERESIS -->
<!ENTITY ntilde "ñ"> <!-- LATIN SMALL LETTER N WITH TILDE -->
<!ENTITY Ntilde "Ñ"> <!-- LATIN CAPITAL LETTER N WITH TILDE -->
<!ENTITY oacute "ó"> <!-- LATIN SMALL LETTER O WITH ACUTE -->
<!ENTITY Oacute "Ó"> <!-- LATIN CAPITAL LETTER O WITH ACUTE -->
<!ENTITY ocirc "ô"> <!-- LATIN SMALL LETTER O WITH CIRCUMFLEX -->
<!ENTITY Ocirc "Ô"> <!-- LATIN CAPITAL LETTER O WITH CIRCUMFLEX -->
<!ENTITY ograve "ò"> <!-- LATIN SMALL LETTER O WITH GRAVE -->
<!ENTITY Ograve "Ò"> <!-- LATIN CAPITAL LETTER O WITH GRAVE -->
<!ENTITY oslash "ø"> <!-- CIRCLED DIVISION SLASH -->
<!ENTITY Oslash "Ø"> <!-- LATIN CAPITAL LETTER O WITH STROKE -->
<!ENTITY otilde "õ"> <!-- LATIN SMALL LETTER O WITH TILDE -->
<!ENTITY Otilde "Õ"> <!-- LATIN CAPITAL LETTER O WITH TILDE -->
<!ENTITY ouml "ö"> <!-- LATIN SMALL LETTER O WITH DIAERESIS -->
<!ENTITY Ouml "Ö"> <!-- LATIN CAPITAL LETTER O WITH DIAERESIS -->
<!ENTITY szlig "ß"> <!-- LATIN SMALL LETTER SHARP S -->
<!ENTITY thorn "þ"> <!-- LATIN SMALL LETTER THORN -->
<!ENTITY THORN "Þ"> <!-- LATIN CAPITAL LETTER THORN -->
<!ENTITY uacute "ú"> <!-- LATIN SMALL LETTER U WITH ACUTE -->
<!ENTITY Uacute "Ú"> <!-- LATIN CAPITAL LETTER U WITH ACUTE -->
<!ENTITY ucirc "û"> <!-- LATIN SMALL LETTER U WITH CIRCUMFLEX -->
<!ENTITY Ucirc "Û"> <!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->
<!ENTITY ugrave "ù"> <!-- LATIN SMALL LETTER U WITH GRAVE -->
<!ENTITY Ugrave "Ù"> <!-- LATIN CAPITAL LETTER U WITH GRAVE -->
<!ENTITY uuml "ü"> <!-- LATIN SMALL LETTER U WITH DIAERESIS -->
<!ENTITY Uuml "Ü"> <!-- LATIN CAPITAL LETTER U WITH DIAERESIS -->
<!ENTITY yacute "ý"> <!-- LATIN SMALL LETTER Y WITH ACUTE -->
<!ENTITY Yacute "Ý"> <!-- LATIN CAPITAL LETTER Y WITH ACUTE -->
<!ENTITY yuml "ÿ"> <!-- LATIN SMALL LETTER Y WITH DIAERESIS -->
<!ENTITY lab "<">
<!ENTITY rab ">">
<!ENTITY amp "&">
<!ENTITY dash "-">
<!ENTITY delta "d">
<!ENTITY macron "-">
<!ENTITY mdash "-">
<!ENTITY nbsp "">
<!ENTITY pound "">
<!ENTITY cdb "c">
<!ENTITY ddb "d">
<!ENTITY ldb "l">
<!ENTITY rdb "r">
<!ENTITY udb "u">
<!ENTITY umac "u">
<!ENTITY wacute "w">
<!ENTITY wcirc "w">
<!ENTITY Wcirc "W">
<!ENTITY ycirc "y">
<!ENTITY Ycirc "Y">
<!ENTITY vbar "vbar">
]>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>...
When I try an run a simple xquery like //TEI I'm not get any results. However, if I hack the XML source to remove all entity references, remove the ENTITY declarations and reload the document into bdbxml then the xqueries work. Can anyone offer any insght into why this situation may have arisen and how I might get around it? It seems as if the presence of the ENTITY declarations is somehow effecting the internal index...
all help appreciated,
ALBig thanks to John,
I've been a typical newbie and not really understood everything implied by John's very helpful answer in this thread. Now that I now understand how to reference namespaces correctly, John's previous answer really does hit the mark.
Big thanks
Here is the working code. The important thing to remember for any other newbies is to always preface the query with the namespace - which I was not doing.
declare namespace tei="http://www.tei-c.org/ns/1.0";
doc("source.xml")//tei:body
or
declare namespace tei="http://www.tei-c.org/ns/1.0";
doc("source.xml")//tei:head
etc. -
Content Query Web Part filter not returning any results
This CQWP stopped working after moving a number of files to new locations. It is configured in the following way:
Source: Show items from the following site and all subsites
List type: Pages Library
We want to filter the list by the article date, last 30 days. Without a filter, results are returned. If ANY filtering is applied, NO results are returned, NO error messages.
I experimented with "Group items by" filter, but it also resulted in no results.
If I change the Source field to a subfolder, I can return filtered results.
Any ideas?Make sure that ItemStyle.xslt is working fine, try to change the item style
for your content query web part, if it shows data then there your custom defined
item style is not working properly -
RMI to servet to Access DB not returning any results in Vector
We have a servlet (on the TomCat 3.2.3 web server) that receives parameters from an RMI Server program. The connection is done through the use of the HttpUrlconnection. The doGet() of the HttpServlet reads the parameters and assigns them to a data object of type thisData (which consists essentially of private data members of type: Strings and integer and double variables). The objects are then assigned to a vector, which is then sent back from servlet via getOutputStream(). We get no compilation errors nor do we get any errors during runtime. The connection to the database (MS Access) seems ok as it works with just the client, excluding the RMI. There is no response at the client side when we do a query - no results are returned in the Vector (message says it is 'empty'). What could possibly be wrong? Is there any particular aspect that we should look at? Any immediate help would be greatly appreciated. Thank you. The code from the servlet is below. Please let us know if this is correct. Thank you.
Flag =request.getParameter("Flag");
int flag =Integer.parseInt(Flag);
if (Flag == 1) { // SELECT to get data to display in GUI
departdate=request.getParameter("depdate");
departcity=request.getParameter("depcity");
destincity=request.getParameter("destincity");
try{
sqlQuery.setString( 1, departdate );
sqlQuery.setString( 2, departcity );
sqlQuery.setString( 3, destincity );
}catch(SQLException except){ }
try {
ResultSet results = sqlQuery.executeQuery();
catch (SQLException myexcpt) {
JOptionPane message here }
try{
ResultSetMetaData queryMetaData = results.getMetaData();
if ( noOfRecords >0 ) {
ObjectOutputStream outtoRMI = new ObjectOutputStream
(response.getOutputStream() );
results.beforeFirst();
thisData anObject = new thisData();
Vector theRecords = new Vector();
while ( results.next() )
// get value from ResultSet, then 'set' to an attribute
anObject.setClientNo( results.getInt(1) );
anObject.setAirline( results.getString(2) );
anObject.setdepartCity( results.getString(3) );
anObject.setdepDate(results.getString(4) );
anObject.setdepTime( results.getInt(5) );
anObject.setdestnCity(results.getString(6) );
anObject.setPrice( results.getDouble(7) );
anObject.setFlightNum( results.getInt(8) );
theRecords.addElement( anObject );
outtoRMI.writeObject( theRecords ); // write vector
outtoRMI.close(); // close writer
} // end of if
results.close(); // close resultSet
sqlQuery.close(); // close query
catch(SQLException nextExcept){ }
} // end of if stmtSorry, variable noOfRecords is set by result of getRow(). (When editing to display this, I inadverdently missed/deleted :)
Specifically wondering if use of ObjectOutputStream (response.getOutputStream) is appropriate.
In other words if a vector of complex objects (attributes of int, String, and double) can be sent back to RMI server via this mechanism. I have heard that only an object at a time (not a whole vector of them) can be transmitted. Is this true???
Relevant (corrected) code follows:
ResultSetMetaData queryMetaData = results.getMetaData();
results.last();
int noOfRecords = results.getRow();
if ( noOfRecords >0 ) {
if ( noOfRecords >0 ) {
ObjectOutputStream outtoRMI = new ObjectOutputStream
(response.getOutputStream() );
results.beforeFirst();
thisData anObject = new thisData();
Vector theRecords = new Vector();
while ( results.next() )
// get value from ResultSet, then use 'set' methods to set an attribute
anObject.setClientNo( results.getInt(1) );
//etc.
theRecords.addElement( anObject );
outtoRMI.writeObject( theRecords ); // write vector
outtoRMI.close(); // close writer
} // end of if -
Spotlight Not Returning Correct Results
Hello everyone,
I have a client who uses Spotlight's metadata across the network to mark files for publishing. They'll use the labels as well as Spotlight comments. Now, an issue that has been bothering them since Lion server was installed is that their results from searches based upon either criteria is inconsistant, both on the server itself and across the network. For instance: a search for anything labeled red will come up with different results each time. On the server, some items show up without a filename. A search for Spotlight comments will return files that have no Spotlight comments, however, running the mdls command on the file will show the Spotlight Comments in the kMDFinderComment field. Rebuilding the index has no effect on this problem. Any solutions out there?
Mac Mini Server running OS X Server 10.7.2
2GB RAMI have a similar problem. When I click on the Show All in Finder, the results are meaningless. I get a listing of hundreds of files that have nothing to do with the search word.
For example, if I put "house" in the search window, I get, for example:
X Prize Update | 25 Years of PCR | Australia's Stem Cell Center
X Prize Update | 25 Years of PCR | Australia's Stem Cell Center
wx_printingoverview.html
wx_odbcoverview.html
wx_classesbycat.html
wp_smart-grid-comms_en_xg.pdf
Variable Area Technologies / Rotameters And Cole-Parmer Economical Spring-Loaded Flowmeters - Cole-Parmer Catalog.pdf
Utility Breakdown 6 09-5 10.xlsx
Utility Breakdown 6 09-5 10.xlsx
User Guide.pdf
User Guide
This makes the Show in Finder completely useless. -
CONNECT BY query doesn't return any results...
Hi All
I am trying to execute this CONNECT BY query...but it does not return any result.
Could anyone please suggests what am I doing wrong. Or how should I modify the query to get the results.
SELECT Distinct dt.DID FROM DEPT dt left outer join EMPLOYEE emp on dt.DID = emp.DID WHERE dt.parentid in (SELECT DEPT.DID FROM DEPT CONNECT BY PRIOR DEPT.DID = DEPT.PARENTID START WITH DEPT.PARENTID in (2000,-2000)) or dt.parentid=2000
Any help would be really really appreciated.
Thanks and Regards
-JosefTake the nested query and run it in SQL developer (or SQL Plus) against the database directly. Does it give any results? That query returning no results is the most likely cause of the problem.
-
Query not returning any rows?
hi experts,
My query running long but not returning any result. i have data , no locks on the tables.
i have bigger ( hardware ) database on different server , where I can get results with same query.
Can you tell me what are the DB settings i have to look at to resolve this issue?
( any sql query that can monitor these parameters ?)
(the tabels involved in this query has 33milliions, 2millions, 7 milllions )
Thanks ..
Edited by: 642877 on Sep 21, 2011 6:46 PMOracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
==========================================================
Plan hash value: 3185710999
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 3 | 423 | 24592 (2)| 00:05:45 | | |
| 1 | HASH GROUP BY | | 3 | 423 | 24592 (2)| 00:05:45 | | |
| 2 | NESTED LOOPS | | | | | | | |
| 3 | NESTED LOOPS | | 3 | 423 | 24591 (2)| 00:05:45 | | |
| 4 | NESTED LOOPS | | 3 | 345 | 24585 (2)| 00:05:45 | | |
| 5 | NESTED LOOPS | | 1 | 84 | 21916 (2)| 00:05:07 | | |
| 6 | NESTED LOOPS | | 1 | 67 | 21915 (2)| 00:05:07 | | |
| 7 | PARTITION LIST ALL | | 2 | 60 | 21913 (2)| 00:05:07 | 1 | 11 |
|* 8 | TABLE ACCESS FULL | ART_CRDT_ACCT_FACT | 2 | 60 | 21913 (2)| 00:05:07 | 1 | 11 |
|* 9 | TABLE ACCESS BY INDEX ROWID| ART_PRTFOL_GRP_DIM | 1 | 37 | 1 (0)| 00:00:01 | | |
|* 10 | INDEX UNIQUE SCAN | ART_PRTFOL_GRP_DIM_INDEX1 | 1 | | 0 (0)| 00:00:01 | | |
| 11 | TABLE ACCESS BY INDEX ROWID | W_MONTH_D | 1 | 17 | 1 (0)| 00:00:01 | | |
|* 12 | INDEX UNIQUE SCAN | UQ_W_MONTH_D | 1 | | 0 (0)| 00:00:01 | | |
| 13 | PARTITION LIST ITERATOR | | 3 | 93 | 2669 (2)| 00:00:38 | KEY | KEY |
|* 14 | TABLE ACCESS FULL | ACCT_CLTRL_RLTNP | 3 | 93 | 2669 (2)| 00:00:38 | KEY | KEY |
|* 15 | INDEX UNIQUE SCAN | UQ_ART_CLTRL_DIM | 1 | | 1 (0)| 00:00:01 | | |
| 16 | TABLE ACCESS BY INDEX ROWID | CLTRL_DIM | 1 | 26 | 2 (0)| 00:00:01 | | |
-------------------------------------------------------------------------------------------------------------------------------
Maybe you are looking for
-
Putting new memory in the Mac Mini - tips and (especially) pitfalls
I had some problems in expanding my Mac Mini's memory. If you're about to do the same thing, you might find my experiences useful. So here they are. *Opening the case* I followed advice to use a plastic putty-knife and bought a one specially, but ran
-
Error while creating project through import.wdl
Hi We are having issues creating project using the import.wdl. We are able to create content administration and merchandising projects though. We are getting the following error while creating a programatic import project through import.wdl [12/8/13
-
Payment Terms - Only specify sales text for payment terms for customers !
What is wrong with the format in the attached screen shot ? Do I have to Choose Customer & Vendor ?
-
JScrollPane - Set the rate of the mouse wheel for scrolling
Hi, I'm curious to know a little more about the mouse wheel used for scrolling in a JScrollPane. I'm using it for a JTextComponent at the moment, but the scroll rate is really slow. Is this because of the way swing deals with the mouse wheel, and the
-
CSS problem in Safari 2.0.4
Pages render fine in Firefox, but Safari is trimming is refusing to render the 100% page height I've set in a div. Please review the following page in Firefox and Safari to see what I mean: http://www.envision-grp.com/staging/frontgate2/index.html I