How to get number of optimzed fields
hi Experts,
I am using ecm11.1.1.0.5 on linux with oracle 11g, I added some information fields with ecm console and did a complete index rebuild, while ecm told me I have excessed limitation of optimized field number, I checked the doc, and found the following limitation:
Oracle Content Server system can have up to 32 Optimized Fields, which includes data, integer, standard Oracle Content Server fields like dInDate, dOutDate, and fields selected to be optimized. All Optimized Fields are SDATA fields, which by default include dDocName, dDocTitle, dDocType, and dSecurityGroup.
I checked my optimized fields from ecm console again(administration->admin applets->configuration manager->information fields->advanced search design)
I found 12 fields defined as isinSearchResult and isOptimized, 8 fields defined as isInSearchResult and IsSortable, then why I excessed limitation of 32 optimized field?
Another question is:
Is there a way for me to add fields with searchable and search in result function but without full rebuild index?
Search engine is oracle text.
Best regards
Lan
So now I've had a bit of sleep and some caffeine, let me go a bit deeper.
When you mark a field as "indexed/searchable" in Configuration Manager, if the field is an integer field or a date field, when OTS is the search engine, that field is assigned to a SDATA section. There is a limit of 32 SDATA fields using OTS 11g. That is NOT to say you cannot have more than 32 date and or integer fields, but [searchable date fields] + [searchable integer fields] + [declared optimized fields] cannot exceed a total of 32.
Should you need more date and integer fields, you can add them, but you simply cannot index them for seaching purposes.
URM is a good example of this, as it uses a LOT of date fields. The installer detects if the search engine is OTS, and does not mark its date fields as searchable if OTS is indeed the search engine.
Similar Messages
-
How to get number of rows return in SELECT query
i'm very new in java, i have a question:
- How to get number of rows return in SELECT query?
(i use SQL Server 2000 Driver for JDBC and everything are done, i only want to know problems above)
Thanks.make the result set scroll insensitve, do rs.last(), get the row num, and call rs.beforeFirst(), then you can process the result set like you currently do.
String sql = "select * from testing";
PreparedStatement ps =
con.prepareStatement(sql,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
ResultSet rs = ps.executeQuery();
rs.last();
System.out.println("Row count = " + rs.getRow());
rs.beforeFirst();~Tim
NOTE: Ugly, but does the trick. -
How to get number of digits in given amount
Hi Experts,
How to get number of digits in given amount.
Regards
MohitCheck this :
data: v_data1 type p decimals 3 value '12.860',
v_char1 type char20,
v_char2 type char20,
v_char3 type char20,
len type i.
write v_data1 to v_char1.
split v_char1 at '.' into v_char2 v_char3.
len = strlen( v_char3 ).
write:/ v_char2,
/ v_char3, " this holds the digit value
/ len. " number digits -
How to get the object class field value in CDHDR table for vendor
hi
how to get the object class field value in CDHDR table for vendorTry KRED/KRED_N as object class in CDHDR for Vendor.
-
How to get total of any field in sapscript?
Hello ,
i m making sapscript...
How to get total of any field in sapscript?Hi
Yes, you can define a variabe in your print program and pass it to the SAPScript.
LIKE:
Define L_SUM in the Global data.
DATA: L_SUM TYPE BSEG-DMBTR.
LOOP AT ITAB.
L_SUM = L_SUM + ITAB-AMOUNT.
ENDLOOP.
CALL FUNCTION 'WRITE_FORM'
WINDOW = 'MAIN'
ELEMENT = 'TOTAL'.
Now, in your SAPScript, create a text element in MAIN window
/E TOTAL
Total,, &L_SUM&.
Go through below link
http://sap-img.com/sapscripts/sapscript-how-to-calculate-totals-and-subtotals.htm
Regards,
Chandru -
How i get number of record in repet frame?
Hi,
How i get number of record in repet frame?
Regards
JomarJomar,
you can use Summary Columns in the Data Modell. Create them on group higher that your wished group (so on the pane for an first group of a query), use as Source the primary column and as reset at the group, where the summary column is located.
If you hide some instances via format triggers, that you could use a counter inside the format triggers to count the rows.
Regards
Rainer -
How to get POF object's field value from query result
hi,all:
I want to get field value from the query result, my code is below
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Contact c=(Contact)iter.next();
System.out.println ("firstame####=" + c.getFirstName());
* but I get error*
Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
at com.oracle.handson.QueryExample.query(QueryExample.java:86)
at com.oracle.handson.QueryExample.main(QueryExample.java:43)
who can tell me how to get POF object's field value from query resultHi,
If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Map.Entry entry = iter.next();
Contact c=(Contact)entry.getValue();
System.out.println ("firstame####=" + c.getFirstName());
}JK -
How to get number of rows in tableview
Hello,
Could anybody help me on how to get the number of rows in a tableview? Sort of using DESCRIBE TABLE in classic ABAP.
Thanks,
RickyThere is an attribute of the class CL_HTMLB_TABLEVIEW named
ROWCOUNT.
Inside an event u need to get this info use this code:
Replace 'Monitor' for the ID of your tableview
DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW,
r_count type i,
tv ?= CL_HTMLB_MANAGER=>GET_DATA(
request = runtime->server->request
name = 'tableView'
id = 'Monitor' ).
IF tv IS NOT INITIAL.
DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
tv_data = tv->data.
r_count = tv_data->rowcount.
ENDIF. -
How to get number of pages in word document
I am developing an OCR application where I need to get number of pages of word documents. I am currently assuming that each page consists of 46 lines but some how, I am not getting convinced with this logic. Is there any simplest way to get this information?
Let me tell you that in the OCR system I am converting tiff iamges to .txt file and again reading txt file and counting number of pages based on number of lines.
regards,
RanjanThe number of pages depends on the font size, length of each line and any page break in between.
You could just say, one page per 46 lines, it depends on how accurate you must be.
Why not count the number of pages you scanned? -
How to get select-options type fields in module programming
i need to get ranges type of fields ( like we use select-options in reports) in module prgrming..im only gettin single entry field (like we use in paramenters)...how to get it like this
field1 ___ to ___ ->
field2 ___ to ___ ->
Thanx,
Naveen VishalHi,
report zrich_0006 .
tables: mara.
Custom Selection Screen 1010
selection-screen begin of screen 1010 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_rad1 radiobutton group grp1 default 'X',
p_rad2 radiobutton group grp1,
p_rad3 radiobutton group grp1.
select-options: s_matnr for mara-matnr,
s_matkl for mara-matkl,
s_mtart for mara-mtart.
selection-screen end of block b1.
selection-screen end of screen 1010.
start-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
module status_0100 output.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
endmodule.
*& Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
endmodule.
Create Screen 100 with a subscreen area called "subscreen_1010"
Screen Flow Logic follows
*process before output.
module status_0100.
call subscreen subscreen_1010 including sy-repid '1010'.
*process after input.
call subscreen subscreen_1010 .
module user_command_0100. -
How to get change log for fields if change document flag is not maintained?
Hi experts,
My requirement is display the change log details for the transaction FAGLGA32.
In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
How to get the change log details for the fields for which the change document flag is not maintained at data element level?
Regards,
Rameshdo a modification for the data element or try Audit Trail (depends on your release)
Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
cheers
carsten -
How to get content of custom fields that were created via the EEWB for CIC?
Hi
Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
ThanksHi Michael,
I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
Do you know the set of steps to achieve the same.
Any help would be appreciated.
Thanks,
Chamu -
How to get number or size of selected messages
Hey all
Does anyone know how to get the number or the total size of a selected set of messages in Mail/10.8? I'm in the process of copying mail to an IMAP folder and want to get a general idea of how much stuff I'm sending before I do it.
Thanks!
MattThanks Leroy. That's what I was afraid of. It shows the size/quantity in IMAP folders, but not local folders. I would love a "status bar" as in the Finder, where it tells me how many messages I have selected ... one for the feedback form, I think.
best
Matt -
ALV_GRID How to get number of lines after filted applyed?
Hi, all!
The task is to display title in alv_grid like
"N records selected (X records on the screen)".
It means, N records in dataset and X records displayed after filter applyed by user.
But i can't get number of lines after filter applyed from the alv_grid.
Can anybody help me?
Thanks & regards,
KonstantinHi,
If it goes through PBO/PAI cycle after user sets the filter then in your PBO call method get_filtered_entries of CL_GUI_ALV_GRID and then do a describe statement on the table.
Number of entries in your grid table - number of entries in this filtered entries table will give you the displayed entries after the filter is set.
If it does not go through PBO/PAI cycle then register for after_user_command and I think the fcode for filter is '&FILTER' and code for the above logic in your handler method..
Hope this helps..
Sri -
How to get number of rows and columns in a two dimensional array ?
Hello,
What would be the simplest way to get number of rows and columns in a two dimensional array represented as integers ?
I'm looking for another solution as For...Each loop in case of large arrays.
Regards,
PetriHi Petri,
See a attached txt file for obtaining two arrays with upper and lower index values
Regards
Ray
Regards
Ray Farmer
Attachments:
Get2DArrayIndex.txt 2 KB
Maybe you are looking for
-
ITunes installed on a new drive with music on an old drive: how to keep the music data?
I had iTunes installed on my old HDD with all my music on it. It was the drive C:\ I just installed a new SSD (now the C:\ drive) in my computer. I also installed iTunes on it. I want to leave my music on my old HDD (now the G:\ drive). I can scan wi
-
How to use shift_jis encoding in eclipse 3.2???
i can't use shift_jis encoding in eclipse 3.2 how to add this encoding to eclipse???? please help me
-
Cannot create additional Radio Button items
Hi. I am new to Appleworks database, so this my be a stupid question. When I try to add a field and define it as a radio button group, then try to customize the buttons via Options, it normally only shows 2 buttons "Item 1" and "Item 2". I can modify
-
How do you place the photo to be on the cover in iPhoto books?
How do you place the photo to be on the cover in iPhoto books? In try to make a book in iPhoto I find it impossible to choose a photo for the cover. I try to make a photo a key photo, i put it at the front of the selections, i give it the most stars
-
Problems using the Gradient in Camera Raw
Hi everybody, Just yesterday afternoon I new problem developed using the gradient tool in Camera Raw, unitl it was working just fine. When working on an image when I click on the gradient tool ta pop-up window appears that reads "Unable to create loc