How to use XRANK operator for partial match comaprison?
Hi All,
I am aware how to use the XRANK operator to boost a result if a managed property equals a specific value.
XRANK(cb=400) importance:'1'
How would I make a key word query using XRANK which will boost a result if the managed property contains a part or whole of a term as indicated in the pseudo code below?
XRANK(cb=400) language:'*en*'
In this scenario, I would like all results where language contains the phrase 'en' to be boosted. I wonder if this is possible at all.
thanks,
Saurabh
sdg
Hi,
Keyword Query Language does not support suffix matching. So, in the above scenario it might not be possible.
Please refer to the technet article.
Keyword Query Language (KQL) syntax reference
Please mark it answered if your problem resolved or helpful.
Similar Messages
-
How to use Batch operation for two xsodata services?
Hi All,
I have two xsodata services. How to use submit batch for two xsodata services
Thanks,
MjGateway Batch Calls from SAPUI5
-
How to create business operation for starting workflows
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java class everything
works fine(wlpi-ejb.jar is required), but when I call business operation from
Studio I can't use classes from wlpi-ejb.jar.Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
"Andrew Pitonyak" <[email protected]> wrote:
>
When studio starts, what is your classpath? If you use the included batch
file to start it, then your class path may not include this :-)
Andrew
"Raul" <[email protected]> wrote in message
news:[email protected]..
How to create business operation for starting workflows from worklist?
When I call methods that implements business operation from java classeverything
works fine(wlpi-ejb.jar is required), but when I call business operationfrom
Studio I can't use classes from wlpi-ejb.jar. -
How to use LIKE operator in plsql
Hi
I wanted to select certain rows using like operator in plsql(Input should be given by the user). I have given my experiment here .I couldn't get any result.
As per sql syntax while using LIKE operator we should give search criteria within single quote.where as in plsql if we give within single quote its takes as string so no output is comming.what is solution ? How to use like operator in plsql?
sql syntax
SQL>SELECT customer_name FROM customer_header
WHERE customer_name LIKE 'B%' ; customer_name
Bala murali
Babu
Basker
plsql syntax
PROCEDURE pro_custheader_like ( v_cname IN varchar2
,answer OUT type_refcur_customer) IS
BEGIN
OPEN answer FOR
SELECT customer_name FROM customer_header
WHERE customer_name LIKE ( ' v_cname ' );
END pro_custheader_like;
execution command
sql>variable answer refcursor;
sql>set serveroutput on
sql>exec package_name.pro_custheader_like( 'R',:answer);
plsql successfully completed
sql>print :answer
no row selected
by
balamuralikrishnan.splsql syntax
PROCEDURE pro_custheader_like ( v_cname IN
varchar2
,answer OUT
type_refcur_customer) IS
N
OPEN answer FOR
SELECT customer_name FROM customer_header
WHERE customer_name LIKE ( v_cname );
END pro_custheader_like;
Try it without any quotes. And, let us know your feedback.
Regards.
Satyaki De.
Message was edited by:
Satyaki_De -
How to use ternary operator in JSF using EL expression
how to use ternary operator in JSF using EL expression
I want to use ternary operator for h:datatable columnclasses attribute like as below
<h:datatable
columnClasses="#{booleanExpression ? style1,style2 : style3,style4}"
/>
But it's not working.Is there any other alternative to do this? -
Hi
I'm trying to implement SCD Type 2. I have done so using conventional methods.
I have read in some blogs that dimension operator can be used for SCD. Can any one provide me material on how to use Dimension Operator. I tried OWB User guide. But its not useful.
I have seen that we need to create levels. But i dont need levels.
Can somebody please tell me how to use it.
Regards
VibhutiHi Vibhuti,
using dimensions with OWB 10g R2 isn't that difficult. You just create a number of attributes like an ID, a business key and probably a description and then associate each of the attributes with a level. You need at least one level that all the attributes are associated to. Then you can use the slowly changing dimension wizard (SCD) to track changes. In the SCD settings you can determin for which attribute you want to trigger history and which attributes contain your effective date and your end date (if you want to use SCD type II). Obviously you would need two additional attributes in every level for that purpose.
Regards,
Jörg -
my client asked me " how to see emploee is active or inactive" for head count plz help me.
Hi,
Try to use 'COP' operation for the Infotypes. We can check in PA30 main screen the status of the employee provided if we have configured the status to be visible in the screen. We can also check in table PA0000 the status of the employee - STAT2 field will provide the status information.
Thanks,
Sriram -
How to use same actions for differ pop-up
Hi gurus,
I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
Plz sugges me.
<b>Points will be sured.</b>
Sanket sethiHi,
Take one integer value attribute in the context of view
when you r performing action on POP1 set it's value to 1
when you r performing action on POP2 set it's value to 2
create one method which receives integer argument, say diaplay(int a)
In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
in display() method, Check the value of integer variable..
if it is 1 then perform action related to POP1
if it is 2 then perform action related to POP2
Regards
LakshmiNarayana -
How to use same actions for differ pop-up buttons
Hi gurus,
I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
Plz sugges me.
<b>Points will be sured.</b>
Sanket sethiHi ,
u can use the method SUBSCRIBE_TO_BUTTON_EVENT of the IF_WD_WINDOW interface ... to handle the event fired by the popup .....used this method after creating the popup window ...
regards
Yash -
How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendarHi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar -
Use cellular data for iTunes Match & Radio but not app Updates
Is there any way to set an iOS device so that it will allow using cellular data for iTunes Match and iTunes Radio but not downloading app Updates. I want to be able to set my wife's phone so that the apps are automatically updated over Wifi but she can then use iTunes Match and iTunes Radio when she is out. She only uses those in limited capacity so I am not too worried about her using up her data plan with those. However, app Downloads seems to be quite large, and they happened a lot recently when they all updated for iOS8.
Thanks,
TonyNo, but you could turn off Updates under Automatic Downloads in Settings>iTunes & App Store, then update them manually when you're connected to wifi.
-
How to use Web Serivce for not jsr 172 phone
Hi:
Is anyone know, how to use web service for phones that only have standard J2ME package installed (without jsr 172 web service packagenstalled)?
thank youHi,
I think you need to write the code for this from scratch (built on top of existing HTTP functionality). There may be open-source J2ME code you could use. I've never tried this so I'm afraid I don't know any more. But maybe that is what you were asking... i.e. does anyone have code that does this already...
Tx,
Sam -
How to use 2 GL for loss made on asset retirement w/o revenue ?
how to use 2 GL for loss made on asset retirement w/o revenue.
hello everyone
i have some trouble.
my company want to use 2 GL account for asset retirement
example some time use GL 6500001 some time use 6500002
in standard configuration AO90 , field loss made on asset retirement w/o revenue, there is only one field.
so i can use only one G/L.
it' s not good if i must to change configuration (and transport request )every time that user need to change GL.
now i got one idea.
i know that table T095 keep account determinaton and GL account data.
so if i make program that change data from table T095 directly. i donot need to change config everytime.
but i am not sure that this way will make impact other standard program or not.
i will wait for better idea from everyone.
please help.Substitution consist of several steps each with two parts:
1- Prerequisite
2- Replacement
If the prerequisite is satisfied (TRUE), substitution (Replacement) is performed.
Transaction Code: OBBH.
Thank you
Javed -
Explain how to use standard LSMW for MM01
Can anyone explain how to use standard LSMW for MM01 Tcode.pls explain briefly.
Hi
Create a project using 0020 as method.
Max -
How to use content conversion for Complex structure
Hi All,
I want to know how to use content conversion for the following complex structure:
Data
...Details 1 to Unbound
.....Header 1 to 1
.......HF1
.......HF2
.......HF3
.......ITEM 1 to unbound
.........ITF1
.........ITF2
all are of type string.
Thanks & Regards,
Viswanath
Message was edited by: Viswanath MenteHi,
In the content conversion,
give ur
1.document name as message type
2.give ur recordstructure as Details,,Header,1,ITEM,
3.mention ur keyfield.
conversion parameter
Header.fieldFixedLength - give the field lengths
Header.fieldNames=mention all the field name
Header.keyField=enter the value of keyfield
Header.endSeparator='nl'
repeat the same for Item
regards
jithesh
Maybe you are looking for
-
Software Development Engineer Hysitron, Inc. is a premier scientific instrument manufacturer. Founded in 1992 with headquarters located in Eden Prairie, MN we are committed to promoting nanotechnology by developing advanced transducer and control tec
-
Okay - I've got a handful of Disk Images that I've made of the kids games so they don't have to find the disk, put it in, etc. All has been working fine until the 10.4.9 & .10 updates. Now when they try to play the games, they get a "disk image appea
-
Apex bug? Items being cleared in session state - can't figure out why
I have an item that is being submitted with a value but is then being overwritten and set to null. I can't see any reason why the submitted value is being overwritten with null. I have been debugging this problem for most of the day and can't figure
-
Hello All, I'm trying to install JES5 (java_es-5-ga-linux-x86.zip) on RHEL4 and getting errors during the install. I have installed and uninstalled 2 or three times on this server. I have attached the errant installation summary file and the critical
-
Problems in rename folder using CVI
Hi, I am just using "rename" function to rename my folder name. Normally this function goes well. However, if user already opens a files in the folder(maybe sub-folder) using some other program, this rename will always cause a run-time error. How can