Multiple versus a single collection search with Verity

I have a simple question about Verity search collection.
We have been using verity for a number of years, but we have
never done
any real performance testing in regards to a single
collection versus many.
All documentation and articles argue for multiple small
collections when
indexing for better indexing performance. But what is the
performance
hit when searching 2 collections instead of 1 combined
collection?
How about 4 collections instead of 1?
Thanks
Don Vaillancourt
Director of Software Development
WEB IMPACT INC.
phone: 416-815-2000 ext. 245
fax: 416-815-2001
toll free: 866-319-1573 ext. 245
email: [email protected] <mailto:[email protected]>
blackberry: [email protected]
<mailto:[email protected]>
web:
http://www.web-impact.com
address:
http://maps.google.com
<
http://maps.google.com/maps?f=q&hl=en&q=99+atlantic+ave,+toronto&ie=UTF8&z=15&ll=43.640765 ,-79.420767&spn=0.013448,0.04343&om=1&iwloc=addr>
This email message is intended only for the addressee(s) and
contains
information that may be confidential and/or copyright.
If you are not the intended recipient please notify the
sender by reply
email and immediately delete this email.
Use, disclosure or reproduction of this email by anyone other
than the
intended recipient(s) is strictly prohibited. No
representation is made
that this email or any attachments are free of viruses. Virus
scanning
is recommended and is the responsibility of the recipient.

We are searching 7 collections with some 100.000 documents. I
have not noticed any performance issues compared to searching only
one collection.

Similar Messages

  • 10G-form: How to do MULTIPLE WORD OR SINGLE WORD SEARCH at ITEM?

    I am using 10G DB + 10G Form Builder.
    I've 'database_item' where I am storing multiline text data.
    I want to do MULTIPLE WORD OR SINGLE WORD SEARCH at this item through FORM.
    I've tried by creating the following NON Database Items on the form:
    - multiline_search_text_item, and
    - multiline_result__text_item
    And then writing execute_query in KEY-NEXT-ITEM trigger.
    I've also tried using this in the POST-TEXT-ITEM at multiline_search_text_item:
    select table.database_item into :multiline_result__text_item from table where multiline_search_text_item = :multiline_search_text_item;
    Pl help me asap.
    Gaurav

    What you want to do is not clear.
    The query you wrote will select records where the table contains exactly what has been written in the search item. You can use LIKE and a wildcard search to find records which contain the search text:
    select table.database_item into :multiline_result__text_item
    from table
    where multiline_search_text_item LIKE '%'||:multiline_search_text_item||'%';
    You can use UPPER to make this case insensitive:
    select table.database_item into :multiline_result__text_item
    from table
    where Upper(multiline_search_text_item) LIKE Upper('%'||:multiline_search_text_item||'%');
    But I suspect you want either to match the individual words in the search text to individual words in the database multiline field, or find records where the search words appear (not necessarily as whole words). In that case, check out the following:
    -- set up a table (multiline and various whitespaces)
    DROP TABLE t;
    CREATE TABLE t AS
    SELECT
      ROWNUM rn,
      owner||Chr(9)||object_name||Chr(160)||subobject_name||'    '||object_id||' '||
      data_object_id||Chr(10)||object_type||' '||created||' '||last_ddl_time||' '||
      timestamp||' '||status||' '||temporary||' '||generated||' '||secondary AS col
    FROM all_objects;
    -- check the format of the multiline text item (col)
    SELECT * FROM t WHERE ROWNUM < 4;
    -- a type for the function below
    CREATE TYPE string_tab AS TABLE OF VARCHAR2(255);
    -- this function takes a string and cuts out each word, idetifying words
    -- as being separated by any whitespace.  it returns a collection
    CREATE OR REPLACE FUNCTION string_to_tab(
      p_string IN VARCHAR2) RETURN string_tab IS
      l_string LONG DEFAULT
        RTrim(regexp_replace(p_string,'[[:space:]]+',' ')) || ' ';
      l_data string_tab := string_tab();
      n NUMBER;
    BEGIN
      LOOP
        EXIT WHEN l_string IS NULL;
        n := InStr(l_string, ' ');
        l_data.extend;
        l_data(l_data.Count) := LTrim(RTrim(SubStr(l_string, 1, n - 1)));
        l_string := SubStr(l_string, n + 1);
      END LOOP;
      RETURN l_data;
    END string_to_tab;
    -- selecting from t where ANY of the words in the search text has
    -- a match in the multiline field (as a word or part of a word), so SYS
    -- matches to MDSYS and SYSTEM
    SELECT DISTINCT
      t.rn, t.col
    FROM
      t,
      (SELECT column_value
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE InStr(t.col,x.column_value) > 0;
    -- selecting from t where ALL of the words in the search text has
    -- a match in the multiline field (as a word or part of a word), so SYS
    -- matches to MDSYS and SYSTEM
    SELECT rn, col FROM(
    SELECT
      t.rn, t.col, cnt_x, Count(*) cnt
    FROM
      t,
      (SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE InStr(t.col,x.column_value) > 0
    GROUP BY t.rn, t.col, cnt_x
    WHERE cnt = cnt_x;
    -- selecting from t where ANY of the words in the search text
    -- match a word in the multiline field, so SYS matches only to SYS
    SELECT DISTINCT
      t.rn, t.col
    FROM
      t,
      (TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
      (SELECT column_value
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE t2.column_value = x.column_value;
    -- selecting from t where ALL of the words in the search text
    -- match a word in the multiline field, so SYS matches only to SYS
    SELECT rn, col FROM(
    SELECT
      t.rn, t.col, cnt_x, Count(*) cnt
    FROM
      t,
      (TABLE(CAST(string_to_tab(t.col) AS string_tab))) t2,
      (SELECT column_value , Count(1) over(PARTITION BY 1)cnt_x
       FROM TABLE(CAST(string_to_tab('SYS   INDEX') AS string_tab))) x
    WHERE t2.column_value = x.column_value
    GROUP BY t.rn, t.col, cnt_x
    WHERE cnt = cnt_x;For your application you would replace 'SYS INDEX' with a variable (the search field). You can use upper() and wildcards for case insensitive & 'fuzzy' searches. You might need to modify the function so it removes other delimiters such as commas and colons.

  • How To Use Multiple Currencies in single payroll ........

    Dear All
    Can you help me How To Use Multiple Currencies in single payroll?
    with regards
    User600722

    I am not a functional expert. but ML Note 150173.1 (which is quite old) states that this is not possible.
    Srini

  • Verity Error - Not letting user search with words NOT,AND,OR, etc. Why??

    I've meticulously created collections of the music on my ecommerce music site.  I am manually stripping off offending characters in the submitted search criteria with this code:
    Trim(REReplaceNoCase(URLDecode(URL.searchcriteria),"[()<>##""'@]"," ","all"))
    Then, if the user has ticked for an "exact word" search, I'm adding double quotes around it, otherwise, leaving it without.  Then submitting it to the right collection for a search with this code (I've substituted ZZZ and XXX for my protection).
    <CFSEARCH NAME="ZZZ" COLLECTION="XXX" type="simple" CRITERIA="#cleanedcriteria#" maxrows="300">
    When a user does not tick "exact match" but types in any phrase that includes any of the Verity operators, they get the following error:
    If you are using type="explicit", you must use Verity Query Language operators such as "<WORD>" or "<STEM>", or surround your search term with quotes. See the documentation for details.
    Pass Me Not
    will throw the error. but
    "Pass Me Not"
    which is passed when someone ticks "exact match" does just fine.
    From what I've read, the simple search is supposed to assume the <WORD> and <MANY> operators, but it's like that's being ignored.  What am I doing wrong, and/or how can I configure this so that my users can type terms, submit, and find what they're looking for?

    I think I finally understand, and am posting the solution here for others' benefit.
    Apparently the simple search is in fact behaving properly and will recognize AND OR NOT as operators instead of part of the search string.  The work around for this is to enclose those words in double quotes.  So that's what I've done.  If the user has not specified an "exact match" search (where I enclose the entire string in double quotes), then I single out these three words and put double quotes around them.  It appears to work beautifully.
    QED, and am happy to have had a complete uninterrupted discussion with myself.
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"and","""and""","all")>
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"not","""not""","all")>
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"or","""or""","all")>

  • How to search with multiple constraints in the new java API?

    I'm having a problem using the new MDM API to do searches with multiple constraints.  Here are the classes I'm trying to use, and the scenario I'm trying to implement:
    Classes:
    SearchItem: Interface
    SearchGroup: implements SearchItem, empty constructor,
                 addSearchItem (requires SearchDimension and SearchConstraint, or just a SearchItem),
                 setComparisonOperator
    SearchParameter: implements SearchItem, constructor requires SearchDimension and SearchConstraint objects
    Search: extends SearchGroup, constructor requires TableId object
    RetrieveLimitedRecordsCommand: setSearch method requires Search object
    FieldDimension: constructor requires FieldId object or FieldIds[] fieldPath
    TextSearchConstraint: constructor requires string value and int comparisonOperator(enum)
    BooleanSearchConstraint: constructor requires boolean value
    Scenario:
    Okay, so say we have a main table, Products.  We want to search the table for the following:
    field IsActive = true
    field ProductColor = red or blue or green
    So the question is how to build this search with the above classes?  Everything I've tried so far results in the following error:
    Exception in thread "main" java.lang.UnsupportedOperationException: Search group nesting is currently not supported.
         at com.sap.mdm.search.SearchGroup.addSearchItem(Unknown Source)
    I can do just the ProductColor search like this:
    Search mySearch = new Search(<Products TableId>);
    mySearch.setComparisonOperator(Search.OR_OPERATOR);
    FieldDimension myColorFieldDim = new FieldDimension(<ProductColor FieldId>);
    TextSearchConstraint myTextConRed = new TextSearchConstraint("red",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConBlue = new TextSearchConstraint("blue",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConGreen = new TextSearchConstraint("green",TextSearchConstraint.EQUALS);
    mySearch.addSearchItem(myColorFieldDim,myTextConRed);
    mySearch.addSearchItem(myColorFieldDim,myTextConBlue);
    mySearch.addSearchItem(myColorFieldDim,myTextConGreen);
    the question is how do I add the AND of the BooleanSearchConstraint?
    FieldDimension myActiveFieldDim = new FieldDimension(<IsActive FieldId>);
    BooleanSearchConstraint myBoolCon = new BooleanSearchConstraint(true);
    I can't just add it to mySearch because mySearch is using OR operator, so it would return ALL of the Products records that match IsActive = true.  I tried creating a higher level Search object like this:
    Search topSearch = new Search(<Products TableId>);
    topSearch.setComparisonOperator(Search.AND_OPERATOR);
    topSearch.addSearchItem(mySearch);
    topSearch.addSearchItem(myActiveFieldDim,myBoolCon);
    But when I do this I get the above "Search group nesting is currently not supported" error.  Does that mean this kind of search cannot be done with the new MDM API?

    I'm actually testing a pre-release of SP05 right now, and it still is not functional.  The best that can be done is to use a PickListSearchConstraint to act as an OR within a field.  But PickList is limited to lookup Id values, text attribute values, numeric attribute values and coupled attribute values.  It works for me in some cases where I have lookup Id values, but not in other cases where the users want to search on multiple text values within a single field.

  • Single proforma invoice with multiple deliveries

    Hi
    I would like to know how to create a single proforma invoice with multiple delivery numbers. Please let me know how?
    Thanks

    Apart from the above option, you can also use T-code VF04 i.e. Billing due list
    Regards,
    Sagar

  • Linking multiple accounts of the same resource with single identity of SIM

    Hi,
    Iam trying to link multiple resource accounts of the user with a single identity manager account. I'm able to achieve this using the 'resource type' also by doing a reconcile based on e-mail(which is same for resource account and IDM account), but i'm unable to link them using 'load from file' or 'Bulk upload'
    I have tried in the following way
    command,user,accountsLDAP.identity,accountsLDAP.identity
    Update,134088230,"cn=134080,OU=people,dc=xxxx,dc=com","cn=134081,OU=people,dc=xxxx,dc=com"
    Can any one help me in this regard

    This is probably a bug or for some crazy reason intended to work this way. I have a similar issue, only difference being my resource is Sun Access Manager instead of LDAP. When I ran my code through Netbeans Debugger I saw that the resource account Fields that holds the value for resource account attributes, simply vanishes during a particular step of form processing. The only workaround I have at this point is to make those attributes as global.<attributeName> instead of accounts[<ResourceName>|<accountType>].<attributeName>
    If anyone can get to bottom of this please post here. I'm going to raise a Support Ticket with Sun.
    - AndyDev

  • Using single SMB share with multiple Hyper-V clusters

    Hello,
    I'm trying to find out if I can use a single SMB share with multiple Hyper-V Clusters. Looking at:
    How to Assign SMB 3.0 File Shares to Hyper-V Hosts and Clusters in VMM
    I think it's possible. Since the File Server is going to handle the file locking it shouldn't be a problem.
    Has anyone tried that?
    Thank you in advance!

    Hello,
    I'm not sure that's possible, I get this from this statement:"Assign the share—Assign
    the share to a virtual machine host or cluster."
    Even if it worked I wouldn't do that. Why don't  you just create multiple shares?

  • Single step workflow with multiple approvers (without using a group)

    Hi,
    is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document.
    i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular group.
    DO let me know if it is possible or if any of you have done that.
    thanks in advance.
    regards,
    rubio

    Hi Rubio,
    I believe the behavior would be, if individual users are added as approvers then the system would require each approver to approve the document. However, if you use the user group, you could set the role so that it would be either ALL or ANY.
    Regards,
    Vikram

  • How do I create a single PDF file with multiple pages?

    Hi, I occasionally need merge several jpg images into a single pdf file with multiple pages (one Jpg per page). I have tried doing this on Preview, and by selecting all the pages I want to include in my document and trying to save to Pdf through the "Print" function, but every time it only saves the first page.
    Can anyone tell me if there is a way to save multple-page pdf files without having to purchase a specific program (i to this too infrequently to justify the cost)?
    Thanks very much,

    This works for me...
    Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
    From File menu > print selected images. Choose PDF > Save as PDF
    -mj

  • How can we create a Collective search help  plz tell me with steps

    How can we create a Collective search help  plz tell me with steps
    thanks,
    basu

    Hi
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward points for useful Answers
    Regards
    Anji

  • Problems with collective search help

    Hello SDNers,
    I was working with collective search help.
    Ex : zc_srch1 (Collective)
    In the 'Include search help' i have included 2 search elementary search
    help
    Ex : zsrc1 and zsrc2 (both elementary)
    I have also assigned the parameter assignment for each included search help.
    I have also mentioned the search help parameter under definition tab
    Ex field form zsrch1 and field1 from zsrch2
    and also checked the import and export checkboxes.
    Now i have used the search help in the abap program
    ex: tmp type field1 matchcode object zc_srch1.
    Now when i execute the program the collective search help is getting populated.  when i try to choose a value it is not getting selected to the parameter box.
    Regards,
    Ranjith N

    Hi,
    Once again check back your seach help creation by following the link below.
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    Cheers!!
    VEnk@

  • Can I communicate single PXI chassis with multiple computer using MXI

    Can I communicate single PXI chassis with multiple computer using multiple MXI cards
    we are using cvi with MXI we want to share channels for other computers Can we do with mxi 

    Yes this is possible when you use a PXI controller.  Attached is a screenshot showing a possible configuration.
    Jacob K || Applications Engineer || National Instruments
    Attachments:
    PXIMaster.png ‏20 KB

  • Multiple Alerts for Single error in interface is a design not issue with XI

    Hi,
    This is constraint of alert mechanism in XI.
    You get multiple alerts for single error,the reason is that since XI will try multiple times to process a failed message so each time it fails in its tries it will send an e-mail.to stop this the "Suppress multiple alert" box is checked but what it does is that it stops all the alerts of that specific rule until the first one is confirmed.Personally i myself (and other experts too) suggest to leave the box unchecked coz its better to get tons of mails for a specific error rather than not getting any e-mail and thereby wasting time in tracking/solving the issue resulting in revenue loss to client.
    As per above comments is it possible to write an ABAP code so that we can stop multiple alerts to be sending to inbox. I am sure if we can delete message from some table then we can stop sending multiple messages to alert inbox and to the subsequent mail id also. I am not sure how alert being generated. I know where they get logged in this table sxmsalertlogger. If someone know how it works in background please let me know the table names.
    Regards
    Ria

    Hi Gaurav,
    You can personalize the way in which you receive alerts.
    Simply choose Personalization to make individual settings for your alert inbox. You can determine a substitute who will then receive the alerts. In addition, you can choose whether alerts are sent to you time-independently or time-dependently. The default setting is that alerts are sent time-independently to your alert inbox and via e-mail when they occur. You can additionally select the communication methods FAX and SMS for time-independent alert notification.
    If you want to receive alerts only on certain days for a certain time, simply select the option for time-dependent sending of alerts and choose Create to create a new table entry. You can then choose the corresponding factory calendar, the time interval, and communication channel. Alerts that arise during this time frame will be sent in any case to your alert inbox. If you have also selected other communication channels, the alerts are additionally sent to you using these other channels. 
    This above text is from SAP help, do you think by changing anything in personnalisation i can stop multiple alerts. I have some issue with Personalisation link so was wondering would be worth to get tht personalisation issue resolved.
    Regards
    Ria

  • Positional Polling a file with multiple records at single line

    Hi
    I am trying to poll a file with positional read.It works fine with single record at single line.But how to solve the problem when there are multiple records at single line???How to delimit the records??

    i have a file which contains emp records like empID,empName,Dept.And these records of fixed length.I need to poll this file wirh positional read.I used fixed length polling.It works fine when there is only 1 record at one line.But when 2 or more records on same line it takes first record correctly but could not understand the start of second record.
    for ex
    1 shital mktg
    2 priya finance
    it works when records are at separate line.
    but another case is:
    1 shital mktg 2 priya finance
    how to delimit these records??

Maybe you are looking for

  • How do i save a document to a specific folder

    How do I save a document to a particular folder and not just to documents in general?

  • Using Memory Sticks for iTunes

    I am transferring iTunes from my old computer onto my new laptop, instead of using up the harddrive, can I transfer iTunes onto a Memory Stick instead of onto the laptop ?

  • Sanyo VPC 1000HD H.264 Not Compatible with QuickTime or FCP

    I recently aquired the Sanyo Xacti-VPC 1000HD. From the results I've observed so far, it's a terrific camera for the price. My problem, and I know this has been touched in this forum to a limited degree, is that FCP and QuickTime see the MP4 (H.264)

  • Pro Tools to Logic Pro Learning Curve?

    I currently use Pro Tools LE 8.0.1 with the original MBox but am about to upgrade my interface and know I have many options.  I've been told that I'd get more bang for the buck by getting whichever interface I want and going with Logic Pro instead of

  • Bean as Socket Server

    Is it possible to make a Bean like stand alone multithread socket server for normal client applications that uses TCP/IP sockets to communicate with server? I have read some docs and found only how to write EJB for clients written specially to commun