How to optimise my search
Hello,
i am using wild card characters to search a string in the database.(%,_).
Ex:%ads%, _sd , nbd% etc. I want to optimize search becoz when database is large it is taking lot of time and performance is decreasing. can any one pls help me in this regard.
Thanx in advance.
Hithi.
Hi,
to search a string in the databaseDon't very well understand, did you mean a search in all tables of database ?
Have you some code sample ?
Nicolas.
Similar Messages
-
How to optimise the intermedia search query when using contains?
HI there,
I have a query to search my database in two tables on eight columns. So that I have eight indexes which are in a different tablespace. Now I have written a query like
select * from table1,table2 where
contains(col1,'wordlist1', 1)>0 and
contains(col2,'wordlist2', 2)>0 and
contains(col8,'wordlist2', 8)>0 ;
When I tried to execute this query, my databae is getting very very slow. As soon as I started the database its working fine, with in five munites of continuous checking, the database going to be slow. So
How can I optimise my query? Is there any better way to search the database using intermedia?
Any help or any sites list on intermedia searching utilities, other than the Oracle documentation is thankful.
waiting...
khaleelThank you Thomas,
I need some more from you...
If I have 8 tables for 8 columns, then how do i proceed?
Also could u tell me some query optimization techniques while working with intermedia text.
Thanks you once again,
waiting...
Khaleel Hi Khaleel,
I think this depends on your data model (relationship between the tables) and how you like to search later.
The optimization begins also with the create index statement (memory clause and storage clause).
If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
Cheers,
Thomas -
Hi.. I have a new apple computer and have no idea how to find stuff on here... Can someone tell me how to find my search history? Thanks
In addition to Japib's suggestion check out
OS X Yosemite: See your files in the Finder
OS X Yosemite: Finder preferences
OS X Yosemite: Ways to quickly see and open items
OS X Yosemite: Search with Spotlight
OS X Yosemite: Rename files, folders, and disks
OS X Yosemite: Folder basics
OS X Yosemite: Ways to organize files on your desktop
One more thing:
Search history is a term generally referring to what sites you have visited via your browser (e.g. Safari)
To see your Safari search history just open Safari and go to the top menu and select from Show History from the History
See two pics below -
How do you "power search"on the new itunes?
How does one power search on the new itunes? Is it still possible?
In addition, since that search window is part of the iTunes' Main Page, I have to wait for that page to load before I can do my search. Before, I could click on the Power Search link, and it would abandon the load and bring me to the Power Search page. Now, since the Main Page takes so long to load, I have to wait for that to finish before I can search.
In other words, I have to wait for iTunes to show me what it wants me to buy, before I can tell it what I want to buy.
Kinda like going into a record store and getting a saleman who tries to sell me the latest hits before he will listen to what it is I came in to buy. The attitude is completely wrong. -
How to add a search help for a field in Screen Personas?
I just started learning to use a Screen Personas, and I want to know how to add a search help for a field.
I found a property in the help document named "IsLookupSupported". Is it the key? But I saw it was gray in the field I created, and its value is "false". I could not change it.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
How to run a search query for a particular folder in KM related to portal
Hi,
Can any one tell me the steps for : how to run a search query for a particular folder in knowledge management related to portal.
Answers will be rewarded.
Thanks in advance.
KN
Edited by: KN on Mar 18, 2008 6:33 AMOk u may not require a coding
But u req configuration
U should first make a search option set
Link: [Search Option set|http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm]
Then u need 2 duplicate a KM Command by the name Search From here
and customize it to include the Search Option that u have created
Link: [Search from here|http://help.sap.com/saphelp_nw04/helpdata/en/2a/4ff640365d8566e10000000a1550b0/frameset.htm]
Then in the layout add this command.
Regards
BP -
How to set another search engine in safari?
hi all
can anybody tell how to set another search engine than google/yahoo in safari (e.g. Bing)?
thank youAt this stage, I don't know of any workarounds (or available plugins) for Safari for Windows 4.0.4 that allow you to put a different search engine option in the search field.
The workaround I've been using is to pin a Bing window into my Top Sites.
You can send an enhancement request to Apple about it. Although it doesn't look to be set up for it, if you bring up your Menu Bar and go "Help > Report bugs to Apple", you can use that bug report form to ask for enhancements. I was skeptical about that to begin with, but apparently they check that for feature enhancement requests, according to the following document. (It's mentioned right down the very bottom.)
[Safari 4 for Windows|http://support.apple.com/kb/HT3657] -
How to create generic search help in wd abap
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
How to hide Saved Searches in the header area of web ui
Hi All,
My Query Is how to hide Saved Searches in the header area of web ui.
For This is there any configuration or we have do through the code.
Thanks & Regards,
VenkatAnother approach:
Open view CRM_WORKAREAHDR/WorkAreaHeader and change the configuration. There is a button in the bar named "Attributes" (probably hidden under MORE).
Once in there in edit mode substitute the content of attribute "UI_COMPONENT_3". It should be
Window=CRM_ALLSEARCHES.CRM_ALLSEARCHES/LauncherWindow;horizontalAlignment=right;
put there a
Width=0px;
The other way using business role is fine as well.
cheers Carsten -
hi how can i add search help .
when i am giving a parameter of type BSART it takes the in built search help
but i want only those values to appear in F4 help which have diff values in category but i want only with catogory "F".
thanks in advance
naval bhattHi,
You have a Function module <b>HELP_VALUES_BSART</b>
or
You need to use AT SELECTION-SCREEN ON VALUE-REQUEST FOR <FIELD>.in this one use the Function module F4IF_INT_TABLE_VALUE_REQUEST.
Look at the below linkhttp://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
Regards
Sudheer -
How do I make search case sensitive
I created a search region of type "query" using a simpleSearchPanel. The instructions say the search is case-sensitive when running the page but it appears it is not. Can anyone tell me how to make the search case sensitive?
Please check if you have followed these guidelines
Rule 2 : If your view attribute is of type String(VARCHAR2), and if the item has the Selective Search Criteria property set to false, then OA Framework generates a case-insensitive simple WHERE clause based on the CRITERIA_CONDITION and the CRITERIA_VALUE.
Rule 3: If your view attribute is of type String(VARCHAR2), and the item has the Selective Search Criteria property set to true, then OA Framework generates a case-insensitive WHERE clause using a four-way join to ensure that the index is used. -
How to add a search help to a field Bank Type in Transaction FK02
Dear All,
How to add a search help to a field Bank Type in Transaction FK02.
Is there any possibilty of using exit or searc help or domain to solve this problem.
Thanks in Advance..
Thanks,
Lakhsmi.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
How to add a search engine manually to Firefox. (No, not via add ons)
How to add a search engine manually to Firefox?
For example, what should I do add a custom search engine? It is not available via add-ons. When I go to the search page, Firefox doesn't detect it and it doesn't prompt me or allow me to add it as a search provider. I am looking for options similar to that in Chromium browser.
let's say for instance, if I want to add redhat bugzilla to my search providers, I can go to search settings and just add https://bugzilla.redhat.com/buglist.cgi?quicksearch=%s
Is there any similar option available in Firefox?I use these;
'''[https://addons.mozilla.org/en-US/firefox/addon/add-to-search-bar/ Add to Search Bar]''' {web link}
Make any pages' search functionality available in the Search Bar
'''[https://addons.mozilla.org/en-US/firefox/addon/context-search/ Context Search]''' {web link}
Expands the context menu's 'Search for' item into a list of
installed search engines, allowing you to choose the engine
you want to use for each search.
'''[https://addons.mozilla.org/en-US/firefox/addon/searchthissite/ SearchThisSite]''' {web link}
Allows you to search the website currently viewed with
the website's internal search engine (and not the default
FF search engine or an external engine) -
How to add a search engine like What do you love of Google ?
how to add a search engine like What do you love of Google ? I use Glims but it doesn't work or I don't know how to go about it
ThanksYou can also add any search engine not already listed in Glims by using the method described here:
http://www.machangout.com/tutorials/addsearchengine
Just enter the name you give the search engine in the name field, and the URL for it in the Query URL field.
Maybe you are looking for
-
Contact Picture Durring a call
Its not that important, im just curious I remember in the commercials for iphone, when they made a call, the person's picture was small and in the upper right hand corner with the wallpaper still there taking up most of the screen. Usually when i mak
-
any body can help me to know the detail explanation of difference between a report and a event
-
InDesign: Interactive PDF, can I make a scrollbar?
Hello. I'm making a scrolling web page design on InDesign. This is just for the appearance and layout, it is not becoming a actual website. Is it possible to make a interactive pdf have a part that always stays on top when scrolling? like this websit
-
I have a photobook made in PSE 8 but can't open it in Elements 12. What to do? I get the note "can not open this multi pages file".
-
Video glitch in Exported QT and Flash video pieces
Hello, I am having a strange problem with my playback of exported videos. Currently I am exporting out video for website use both Highband and Lowband. For my highband I export out video using quicktime conversion. In QT conversion I use Flix Flash F