Indexing on attribute issue
Hi:
I have a container with large documents containing several documents with the following elements:
<g:Value concept="J_DEBTOR" value="AL"/>
I have an xquey with the following where clause:
where ($series/generic:SeriesKey/generic:Value[@concept=xs:string('J_DEBTOR') and @value=xs:string('PA')])
Without indexes defined, the query runs fine.
If I add the following index on the "concept" attribute:
addIndex "" concept edge-attribute-equality-string
all goes well and the query performs as expected.
However, as soon as I add a second index on the "value" attribute:
addIndex "" value edge-attribute-equality-string
the query no longer returns any results.
This works:
where generic:Value[@concept=xs:string('J_DEBTOR')])
and this works as well
where generic:Value[@concept=xs:string('J_DEBTOR') and @value=xs:string('PA')])
If I 'and' both attributes, the query no longer returns results. It works as soon as I drop one of the two indexes.
I'm running DBXML 2.3.8. Any suggestion?
thanks
Pascal
After further testing, rewriting the condition as:
where ($series/generic:SeriesKey/generic:Value/@concept='J_DEBTOR')
and ($series/generic:SeriesKey/generic:Value/@value='PA')
gets the query to work with both indexes.
Similar Messages
-
How to index an attribute through command line
Hi,
I want to index an attribute through command line. I am using OID. I am creating every attribute and object class through command line. Any suggestion will be of great help.
Thanks.Hi ,
When Oracle Internet Directory is installed,by default,certain attributes are already indexed. If you want to use additional attributes in search filters, you must index them.
Below are the points one should remember when indexing an attribure....
- We can index an attribute while creating it from Oracle Directory Manager admin tool.
- You can not index an existing attribute from Oracle Directory Manager tool.
- To index an already existing attribute and that does not have any data, use ldapmodify command.
- To index an already existing attribute and the has the data, use catalog.sh command.
If you are sure that the attribute does not have any data in any of the object profile (user,group,container,etc...) then prepare any ldif file and index it using ldapmodify otherwise use catalog.sh command.
Regards
GK Goalla -
Cfindex: path attribute issue
I am currently trying to index a network directory
recursively so that all of our HR files will be in a verity index.
This way a user could just search for "benefits" and view all
related benefit documentation that were placed in the HR hierarchy.
The issue occurs when trying to specify the path attribute for
cfindex. The files are stored on a network drive, so that ideal
path would be: "\\hrdata\documents". We do have an IIS mapping so
that if you want to our intranet and typed "
http://#ourintranet#/documents/"
you could reach any file. If I do a cfdirectory action="list" or
try to use cffile with the network paths, everything returns
correctly so I know that CF can see the propper mappings. However,
when I run the attached code it does not index any documents. Does
anyone have any ideas? I have been working on this for quite awhile
and I am really stumped.
Thanks in advance:
Brendan
Currently we are using CF MX 7.02 with Hot Fix 3Brendan
I know that lucene (sp?) works on a unix implementation and
you can find some information over at coldfusionjedi.com, but are
there any other possible solutions you can use? I am unaware of how
you should proceed short of contacting the K2 (or whomever owns
verity now). -
Transaction Attribute issue in weblogic 8.1
Hi,
I have problem with the transaction attribute of my session bean in Weblogic8.1 and SQLServer. Following is the description.
I have two beans, say SampleBeanOne and SampleBeanTwo. The transaction attribute of SampleBeanOne is "Required" and that of the SampleBeanTwo is "RequiresNew".
In SampleBeanOne i am trying the execute the a batch of insert quires using PreparedStatement.addBach() and PreparedStatement.executBatch() in a loop that runs of 5 times.
Inside the loop i am calling a method in SampleBeanTwo to get the next sequence. In that method i am updating the squence and selecting the new value.
Now the problem i am facing is that when i call the executeBatch() in the PreparedStatement only the final insert statement added to the batch is called and the insert statement added gets vanished.
If i change the transaction attribute of the SampleBeanTwo to "Required" the code is working fine. But i can't do that since the SampleBeanTwo is accessed throught out my application.
The same peace of code is working properly with Websphere5 and SQL server combination.
Kindly help me out in this issue.
RegardsHi
ThanX for your reply. I raised the issue to the BEA support, they said that the issue is the driver that i am using. It got resolved when i tried with the BEA provided driver. They call it the BEA branded driver for SQL Server.
Regards
Muthu -
Index (HHK) sorting issue in Japanese (RoboHelp X3)
I'm a Japanese localizing engineer who now tries to generate
a WebHelp with a nicely sorted index in Japanese.
As I assume that this has been a known issue for double-byte
languages for a long time, a Japanese index cannot be sorted
perfectly in a compiled chm or WebHelp. In Japanese, there are
several types of Japanese characters (Kanji, Katakana, Hiragana).
Regardless of what type of character a string is typed in, Japanese
strings should be sorted according to <i>yomi-gana</i>,
the way each Japanese string pronounces but currently an index gets
sorted according to the following order (in ASCII code):
*number
*alphabet
*hiragana
*katanaka
*kanji... and so on.
So here I'm trying to do the followings:
1. In a HHK file, I put <so>...</so> in front of
every entry where I spell out the pronounciation in each <so>
segment.
2. Open the HHK with HTML Workshop, sort the file, and save
it (I'll get the file sorted according to what I have put in
<so>..</so>.
3. Open it with a Text Editor and remove all the
<so>..</so> entrires.
4. Put the HHK file in a build folder and generate a
chm/WebHelp in RoboHelp X3.
In the 4th step, I don't want RoboHelp to re-sort the HHK but
it does it automatically. If I can disable the index sorting
functionality in RoboHelp X3 (the latest version in Japanese) but
looks like there is no way to do it. If anyone is sure that it's
not possible to disable the auto-sorting functionality in RoboHelp,
please let me know so that I can give up witout a sweat.
By the way, I have tried the alternative for WebHelp that
skips the 3rd step and removes all the <so>...</so> in
the files that RoboHelp creates. The result is that everything got
messed up and some of the contents in the Index couldn't be viewed
in a browser.
Thanks.
Rota.Hi Paul
Have you tried just right-clicking in the index and choosing sort?
Click the image below to view larger.
Note that this may require you to temporarily configure Microsoft HTML Help as the primary layout and editing the Project Settings in order to allow the sort function to appear.
Remember, you press Ctrl+Shift+? to open Project Settings. You then would turn off (or ensure it's turned off) the Binary Index feature.
Once you have done this, you would then revert any settings that you changed to allow things to work.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Navigational attribute issue in query
Hi gurus,
Here is a very tricky issue that I am facing. If anyone could please help me with a workaround for the same.
I have an infoObject called ZDIV_CUS which is basically 0CUSTOMER with 0DIVISION compounded to it. Hence, when I load data into ZDIV_CUS, I would have one record for a unique combination of customer and division. In functional words, I would have one customer maintained for multiple divisions. ZDIV_CUS also has other navigational attributes as 0SALES_OFF, 0SALES_DIST & 0SALES_GRP. Also, I have 0MATERIAL, which has 0DIVISION as a navigational attribute in my cube.
Hence the master data for ZDIV_CUS looks as follows -
0DIVISION 0CUSTOMER 0SALES_OFF 0SALES_GRP 0SALES_DIST
01 100000 L001 L01 L010100
02 100000 L005 L08 L020150
01 100001 L001 L01 L050150
03 100001 L005 L02 L052542
The transactional data in my cube is as follows -
0MATERIAL 0CUSTOMER 0DIVISION 0SALES_OFF 0NET_SALES 0MATERIAL_DIVISION (Material master div)
102152 100000 01 L002 110000 02
102545 100001 02 L002 12000000 02
The above data is all transactional except for 0MATERIAL_DIVISION which comes from material division.
My query is built in such a way that the division comes from 0MATERIAL (restricted to variable in the selection screen). ZDIV_CUS and its navigational attributes are being used in my query. The initial display is shown as per ZDIV_CUS_0SALES_OFF (i.e. sales office from ZDIV_CUS)
The problem is that say for eg for the above mentioned scenario, the user executes the query for division 01 and the below mentioned output comes up -
0MATERIAL_DIVISION ZDIV_CUS 0MATERIAL ZDIV_CUS_0SALES_OFF 0NET_SALES
02 100000 102152 L001 110000
If we take a closer look, we would know that ZDIV_CUS_0SALES_OFF should pick up value L005 and not L001 since the division for which the query is run is 0MATERIAL_DIVISION and not 0DIVISION.
Request help to resolve the abovementioned issue.
Thank you,
SreeCan any one answer for Issue-2. Even I am also facing the same.
Thanks in Advance. -
Outlook 2013 shared mailbox indexing and search issue
I have 2 Outlook 2013 clients running in Cached Mode, with Download Shared Folders checked and a delegated mailbox opened via the Account Settings Advanced tab. Both clients are accessing the same delegated mailbox. According to this article (http://blogs.technet.com/b/outlooking/archive/2014/04/28/understanding-search-scopes-in-microsoft-outlook.aspx),
they should be able to search the Current Folder via WDS, but in both cases, changing the Search Scope to Current Folder causes Outlook to hang for 10-20 minutes.
This makes searching the delegate mailbox completely unworkable, which is a problem for the 2 P.A.s concerned, as they spend a lot of the day searching for correspondence.
I have tried rebuilding the search index, with no change in the search behavior. It seems that WDS is not indexing the cached delegate mailbox - how can I correct this?
Thanks
PatrickHello,
Please try to add the following registry key and then restart Outlook to check the issue again:
Note: Serious problems might occur if you modify the registry incorrectly. For added protection,
back up the registrybefore you modify it.
Registry data to index shared mailboxes:
Key: HKLM\software\policies\Microsoft\windows\windows search
DWORD: EnableIndexingDelegateMailboxes
Value: 1
Please let me know the result.
Regards,
Steve Fan
TechNet Community Support -
Attributes Issue in FIX Statement Calculation
Hi All,
I have issue with calculating FTE. I have a dimension call Employees and has an attributes (Full-Time / Part-Time). I'm trying to calculate FTE. Below is my code. It seems to be ignoring Attribute in the Fix Statement. when I run this calc script FTE for every employees is 0.5 since that's the last thing it does. If I comment out the second fix statement FTE for every employees is 1. I'm not sure why it's not it's ignoring my statement on the Attributes.
FIX(@LEVMBRS("Time Periods",0),"FY11","WP","Working Version",@LEVMBRS("Measures",0),"USD",@LEVMBRS("Entities",0),@LEVMBRS("Sites",0),@LEVMBRS("Employees",0),@LEVMBRS("Job Codes",0),@LEVMBRS("Cost Centers",0),@LEVMBRS("SBU",0),@LEVMBRS("EE_Status",0),@ATTRIBUTE("Full-Time"))
FTE(
IF
("Base_Salary">0);
"FTE"=1;
ELSE
"FTE"==#MISSING;
ENDIF;
ENDFIX;
FIX(@LEVMBRS("Time Periods",0),"FY11","WP","Working Version",@LEVMBRS("Measures",0),"USD",@LEVMBRS("Entities",0),@LEVMBRS("Sites",0),@LEVMBRS("Employees",0),@LEVMBRS("Job Codes",0),@LEVMBRS("Cost Centers",0),@LEVMBRS("SBU",0),@LEVMBRS("EE_Status",0),@ATTRIBUTE("Part-Time"))
FTE(
IF
("Base_Salary">0);
"FTE"=0.5;
ELSE
"FTE"==#MISSING;
ENDIF;
ENDFIX;
Edited by: user8988798 on Mar 26, 2010 9:57 AMHaving both @LEVMBRS("Employees",0) and @ATTRIBUTE("Full-Time") is your problem. You are saying give me all of the level zero members of employee and also give me the members that have Full time. Since attributes are tied to the base members you would just need @ATTRIBUTE("Full-Time") to get the full time employees
-
Index.php loading issue
I finished and uploaded a new site in .php.
I have a graphics loading issue only with IE.
The js accordion with images will not reload after returning to the home page.
Anyone out thier that can shed some light on this?
http://carpetcleaningsantabarbarapro.com/index.php
Thank you in advance
CrissymarieKen might be on to something. The current release of jQuery is 1.7.2 which is compatible with jQuery Cycle.
For the latest core library, you can link to jQuery's CDN like so:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
You have some improperly nested <h3> tags around your lists on lines 170 and 191. To keep your code error free, simply delete the heading tags.
Finally, as a courtesy to your site visitors, consider adding a cookie so people don't have to watch the Flash Spokesperson every time they go to your home page. The link below shows how:
http://alt-web.com/DEMOS/cookie-test-show-hide-flash-intro.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
Hi,
I have created Material as Master Data infoobject, and have Standard Price (STPRS) as its Attribute.
The Attribute(STPRS) is a Key Figure.
Now the problem is....
It dosen't show up in Bex Query creation under Attributes List of Master Data. Only all character attributes can be seen. Also other Key Figure Attributes can't be seen.
Does it mean only Character infoobjects can be created as Attribs? (Logically I believe its not correct)
If No, What's the reason for that?
Rgds,
SandeepHi Sandeep,
This could be an auth issue. Please see OSS note 761089: Authorization of display attributes for details.
You can pull the KF attributes into a query using formula variables.
Hope this helps... -
Hello,I am trying to create a multilevel attribute utilizing the "date" type. In the cube we have defined a dimension that contains all leases. I would like to create a LeaseDate attribute that would contain both a beginning and ending lease date. Since a beginning date could be the same as an ending date I used the example found in the online help but unfortunately I am getting an error "adding member 3317". It only happens with the 0 level member is duplicated. Date file layout01-01-2000,Begin,L2000,Total Lease01-02-2000,End,L2000,Total Lease01-01-2000,End,L3000,Total LeaseIs there such a thing as a shared member within a dimension that is tagged as having the type of "attribute"?I used the example as stated above in the online help under the title "Working with Multilevel Attribute Dimensions"Thanks - Steve
Hi Murali
This is exactly the same what i tried to do,
Drill down to 4 levels State -> City-> store etc with 4 pie charts and similar push button to close each level to
go back to previous chart, first run from 1 to 4 works fine, then after closing all the levels and when i am at the pie chart 1
if i click any pie slice it will jump to Pie chart 4 straight,
I tried tracking the issue, all i could find is some how the previous dynamic visibility values are back even after erasing
the data with the PUSH button (Destination cell insertion with blank or 0).
did you find a solution for this issue ?
Thanks
Chandra -
Trasient Attribute - Issue ?
Hi
I have a transient attribute on my create page for description column , to display the value to user .
I am displaying error or warning msgs on the top, when the user clicks on apply button.
My issue is.. i get error msg on the top.. but the value of the transietn attribute disappers ?
Any suggestions?
Thanks
RaviHi
Thanks for your reply.
I am bit confused.
I created a transient Attribute in VO and on my create pg, I cratead a form Valule and attached the trasient VO , to this form value
is that what u suggest ?
but i still see, description column disappers when page submits ?
Any suggestions?
Thanks
Ravi -
Hi,
I'm having some issues on implementing radius accounting. Below are my configurations
aaa group server radius ClearBox
server 192.168.111.8 auth-port 1812 acct-port 1813
accounting accept ClearBox
aaa accounting exec default start-stop group ClearBox
aaa accounting network default start-stop group ClearBox
aaa accounting connection h323 start-stop group ClearBox
aaa accounting resource default start-stop group ClearBox
aaa session-id common
gw-accounting aaa
radius-server attribute list ClearBox
attribute 1,4-6,25-26,28-31,40-41,44,46,49,61
radius-server host 192.168.111.8 auth-port 1812 acct-port 1813
radius-server key 7 12481603171B5B55
radius-server vsa send accounting
I am using ClearBox as my radius server. It seems that the ff attributes (h323-connect-time,h323-disconnect-time,h323-disconnect-cause,) was not recorded on the ClearBox. See attached file for the screenshot. May be you can help me on this issue.Try to enable the following debugs:
debug isdn q931
debug ppp negotiation
debug aaa authen
debug aaa accounting
debug radius -
Cfgrid and href attribute issue
HI Gang-
I'm building a relatively simple query driven cfgrid, read-only for the most part but I need one of the columns to be a href value that will serve as a drilldown. Everything working fine except that the name/value pair I need appended to the url is being persnickety.
The url I'd like to build and have effected in the cfgrid is something like "index.cfm?action=drilldown&orderid=#dynamicValue#"
I finally got it to work, but not as I would like. Turns out both cfgrid and cfgridcolumn tags each have the "href" and the "hrefkey" attributes, which made for a confusing 45 minutes of trial and error. The closest I could eventually come to my target url of:
index.cfm?action=drilldown&orderid=#dynamicValue#
is actually
index.cfm?action=drilldown&CFGRIDKEY=#dynamicValue#
Not what I wanted but I can deal for now.
Has anyone gotten a hold of building out hrefs in cfgrid using custom name/value pairs dynamically? Would love to know how you did it. Code postings would be even better!
Many thanks,
RichQuite a challenge, that one. You can run the following example directly. Have a look at my use of the lastName column. You could also have a look at the ext library.
<html>
<head>
<title>Grid URL Demo</title>
<script type="text/javascript">
function init(){
var grid = ColdFusion.Grid.getGridObject("ArtistGrid");
grid.addListener("rowclick",onRowClick);
function onRowClick(g,rowIndex,e){
var lastName = ColdFusion.getElementValue("ArtistGrid", "artistGridForm", "lastName");
var url = "index.cfm?action=drilldown&lastName="+lastName;
ColdFusion.navigate(url);
</script>
</head>
<body>
<cfquery name="getArtists" datasource="cfartgallery">
SELECT artistId, firstname, lastname, address, city, state, postalcode, email
FROM Artists
</cfquery>
<cfset args = structNew()>
<cfset args.name = "ArtistGrid">
<cfset args.format = "html">
<cfset args.query = "getArtists">
<cfset args.stripeRows = true>
<cfset args.selectColor = "##D9E8FB">
<cfset args.width = 600>
<h1>Artists Grid</h1>
<cfform name="artistGridForm" id="artistGridForm">
<cfgrid attributeCollection="#args#">
<cfgridcolumn name="artistid" display="false">
<cfgridcolumn name="firstname" header="First Name">
<cfgridcolumn name="lastname" header="Last Name">
<cfgridcolumn name="email" header="Email Address">
<cfgridcolumn name="address" header="Address">
<cfgridcolumn name="city" header="City">
<cfgridcolumn name="state" header="State">
<cfgridcolumn name="postalcode" header="Zip">
</cfgrid>
</cfform>
<cfset ajaxOnLoad("init")>
</body>
</html> -
Hi all,
i got the below issue,,
DataSource 0PLANT_ATTR does not have the same status as the source system in the Business Information Warehouse.
The time stamp in the source system is 03/10/2011 03:10:12.
The time stamp in the BW system is 11/08/2009 23:39:40.
can anyone give soultion what to do now..
Thanks in advance
Regards,
NareshHi Naresh
Try replicating datasource and once datasource changes are available in BW if you want to load new attribute values you need to change your transformation to extract the same.
if you still continue to face this problem you can right click on datasource->display datasource in source system
then login to ECC system from login prompt you get and then come back one step.
in this process system automatically checks datasource and in case of incosistency does necessary changes.
Hope this helps.
Regards
Sudeep
Maybe you are looking for
-
I need information about ESS and Training and Work Experience
I need information about ESS and Training and Work Experience. Anyone know if there is something inside of the component ESS about Training and Work Experience (infotypes 22 and 23)? I appreciate information. Thanks.
-
Last used files of an appilcation in start screen
Hello, I don't know if someone from Microsoft is reading this (I hope so) but I really would like to see a feature that shows the recent used files of an application in the start screen. I don't have that much problems with that start screen in gener
-
Iphone has a message on it that said iphone is disable connect to itune. i try but it said that you must unlock your phone. but the iphone will not let me bring up the keypad so i can put the code in to unlock it, it has the message iphone disable co
-
Updating AUD$ consumes most of the time in AWR report.
Hi All, It's really good to see, great people passing their help to folks like us and making our life easier. Going forward,I am investigating on of the performance issue and analyzing the AWR report. By looking AWR, I did find updating aud$ taking m
-
i would like to delete my credit card acct charges are made that i didnt authorize