Search request returns status 2

Hi,
I am trying to perform a search request on Office365 but I keep getting status 2 back, here is my request:
<Search xmlns="Search" xmlns:AirSync="AirSync:">
<Store>
<Name>mailbox</Name>
<Query>
<And>
<AirSync:Class>email</AirSync:Class>
<AirSync:CollectionId>0</AirSync:CollectionId>
<FreeText>waseem</FreeText>
</And>
</Query>
<Options>
<DeepTraversal/>
</Options>
</Store>
</Search>
The response I get looks like:
<?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Search xmlns="Search:">
<Status>1</Status>
<Response>
<Store>
<Status>2</Status>
</Store>
</Response>
</Search>
I also tried the exact same XML request payload as mentioned in the protocol documentation, but keep getting the same response. Has anyone gotten this to work successfully?
Thanks
Waseem

Hi Kamil,
Thank you very much for your reply. I did actually test earlier with all these changes as well, for completeness sake I just tried with this request payload:
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Search xmlns="Search" xmlns:AirSync="AirSync">
<Store>
<Name>Mailbox</Name>
<Query>
<And>
<AirSync:Class>Email</AirSync:Class>
<AirSync:CollectionId>7</AirSync:CollectionId>
<FreeText>waseem</FreeText>
</And>
</Query>
<Options>
<DeepTraversal/>
</Options>
</Store>
</Search>
Here is the response I get on Exchange Online (Office365):
<?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Search xmlns="Search:">
<Status>1</Status>
<Response>
<Store>
<Status>2</Status>
</Store>
</Response>
</Search>
Thanks!
Waseem

Similar Messages

  • CRM search, request return nothing

    Hi,
    When I try to make research in our b2b applications (CRM 5, TREX 7 update26) if I use the character "*" it return all items, but any other character, (join, union) returns nothing for any requests.
    I have the following error : "An exception has occurred: Invalid attribute "TEXT_0001" in the filter printout  Invalid attribute "TEXT_0001" in the filter printout.
    com.sap.isa.catalog.impl.CatalogBuildFailedException: Invalid"
    (SRM0, RFC connections works fine, catalog is well replicated)
    The Quick Search Attributes from the WEB-INF/cfg/catalog-site-config.xml was not be modified.
    Any Help will be reward.
    Regards,
    Thomas

    This reply is way too late, but might help someone.
    There are two options in your case:
    1. Attribute "TEXT_0001" is not replicated in TREX catalog
    2. "TEXT_0001" is in P-Index, and you are doing search over the S-index (or vice-verse).
    There are 2 types of Queries in ISA.
    Catalog search which is done over the P-indexes (when you create your Quesry throug the ICatalog object).
    Category specific search which is done over the S-indexes (when you get your Query from a ICategory).
    Best regards,
    Marian

  • Visual Studio Integrate REST Api - WIQL request returns status 400 (Bad Request)

    Hi,
    I'm attempting to submit a WIQL (Work Item Query Language) request to the Visual Studio Online REST api but receiving a status code 400 (Bad Request).
    I'm using the sample request of the first example "Run a query" of the reference documentation listed here: http://www.visualstudio.com/en-us/integrate/reference/reference-vso-work-item-wiql-vsi
    I've taken the sample request: https://fabrikam.visualstudio.com/DefaultCollection/Fabrikam-Fiber-Git/_apis/wit/wiql?api-version=1.0-preview.2 and substituted "fabrikam" with our account and "Fabrikam-Fiber-Git" with our team project
    name.
    I've used the exact same query listed for the sample request:
      "query": "Select [System.WorkItemType],[System.Title],[System.State],[Microsoft.VSTS.Scheduling.Effort],[System.IterationPath] FROM WorkItemLinks WHERE Source.[System.WorkItemType] IN GROUP 'Microsoft.RequirementCategory' AND Target.[System.WorkItemType]
    IN GROUP 'Microsoft.RequirementCategory' AND Target.[System.State] IN ('New','Approved','Committed') AND [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward' ORDER BY [Microsoft.VSTS.Common.BacklogPriority] ASC,[System.Id] ASC MODE (Recursive, ReturnMatchingChildren)"
    Couple of things that I've tried:
    1. I've tried both "api-version=1.0-preview.2" and "api-version=1.0-preview.1"
    2. I've left out the project name from the request url: Based on the query format listed in the example "https://{account}.visualstudio.com/defaultcollection/[{project}/]_apis/wit/wiql?api-version={version}" I'm assuming that the wrapping of the
    project section in the url in square brackets ([{project}/]) indicates that this section is optional.
    3. I've tried a simpler query:
     "query": "Select [System.WorkItemType],[System.Title],[System.State],[Microsoft.VSTS.Scheduling.Effort],[System.IterationPath], [Microsoft.VSTS.Common.BacklogPriority] From WorkItems"
    Any help would be greatly appreciated.
    Kind Regards,
    Morné

    Hello Morne,
    Visual Studio Integrate forum is for questions about Visual Studio extension development. Yours seems to be about Visual Studio Online REST API to query something. Maybe
    Visual Studio Online forum is better, I'm not sure.
    I move it to [where is this forum for ...] forum, where the moderator will direct you to the right forum.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I check the return status of a request using URLConnection?

    Hi,
    I am using the classes URL and URLConnection to connect to a remote server and make a POST request. The code extract is:
    URL u = new URL("http://.....");
    URLConnection con = u.openConnection();
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setUseCaches(false);
    con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    DataOutputStream out = new DataOutputStream(con.getOutputStream());
    out.writeBytes(........);
    out.flush();
    out.close();
    Next, I would like to check the return status of my request. I need to see if the server returned status 200 (OK) or an error (e.g. 404). Is there a way to check this?
    If you are aware of another way I can achieve this whole thing I would be grateful if you could let me know.
    Thanks very much for your help!

    URLConnection doesn't have a getResponseCode
    method...
    But I found a link
    http://bugs.sun.com/bugdatabase/view_bug.do;:WuuT?bug_
    id=4191207
    that helped me found out that there is another class
    called HttpURLConnection:
    ((HttpURLConnection)conn).getResponseCode( )You should read the API:
    http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#openConnection()
    "If for the URL's protocol (such as HTTP or JAR), there exists a public, specialized URLConnection subclass belonging to one of the following packages or one of their subpackages: java.lang, java.io, java.util, java.net, the connection returned will be of that subclass. For example, for HTTP an HttpURLConnection will be returned,..."

  • Zone shutdown error - SNMP request returned error status 6 (no access)

    When trying to shutdown a zone though SunMC it get the following error from the web page
    SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
    the log on the agent has
    [0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
    .12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
    I probably am missing a simple undocumented permissions problem.
    Any help would be appreciated
    Thanks

    marcusj99 wrote:
    When trying to shutdown a zone though SunMC it get the following error from the web page
    SNMP request returned error status 6 (no access) snmp://xx.xx.com:nnnn/mod/scm-container/Zones/ZoneTable/ZoneEntry/zoneState#zonename
    the log on the agent has
    [0000008f 00a8 ]warning Nov 28 12:20:10 agent preValidateSetPDU: zoneState(zonename) [1.3.6.1.4.1.42.2
    .12.2.2.85.6.1.1.10.10.98.111.116.97.110.105.120.45.97.100] - noAccess
    I probably am missing a simple undocumented permissions problem.
    Any help would be appreciatedSCM security can be tricky to get right the first time you use it. Have you performed these operations in the global zone?:
    - run es-config to add your SunMC userID to the scm-container ACL?
    - made sure the Project Managment and Pool Management entries are in /etc/security/prof_attr and exec_attr files?
    - added your SunMC userID to the Zone/Pool/Project entries in /etc/user_attr (or used the 'usermod' command to add the entries for you)?
    If any of those steps were missed then SunMC (or Solaris) may not believe you have permisson to make changes to zones/pools etc. There are a couple of SCM docs listed in with the SunMC doc set:
    http://docs.sun.com/app/docs/coll/810.8?l=en
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

  • The search request was unable to connect to the Search Service

    I have upgraded from WSS 3.0 to SharePoint Foundation 2010. So far everything appears to be OK apart from my search.
    When I attempt a search I get the following:
    The search request was unable to connect to the Search Service.
    I checked the Manage Database Update Status in Central Admin and noticed the following(an upgrade is required):
    Also, I checked Manage Services on Server and noticed that the only search related service is 'SharePoint Foundation Help Search'.
    If I go into Manage Service Applications and click new there is no option to add a search service.
    Finally I tried PSConfig:
    PS C:\Users\administrator.ACHESON> PSConfig.exe -cmd upgrade -inplace b2b -force
    -cmd applicationcontent -install -cmd installfeatures
    SharePoint Products Configuration Wizard version 14.0.6009.1000. Copyright (C) M
    icrosoft Corporation 2010. All rights reserved.
    Performing configuration task 1 of 6
    Initializing SharePoint Products upgrade...
    Waiting to get a lock to upgrade the farm.
    Successfully initialized SharePoint Products upgrade.
    Performing configuration task 2 of 6
    Initiating the upgrade sequence...
    Successfully initiated the upgrade sequence.
    Performing configuration task 3 of 6
    Registering SharePoint features...
    Feature installation has determined that there are no new features that require
    installation.
    Successfully registered SharePoint features.
    Performing configuration task 4 of 6
    Installing the application content files...
    Installing the SharePoint Central Administration Web Application content files..
    Installing the SharePoint Web Application content files...
    Successfully installed the application content files.
    Performing configuration task 5 of 6
    Upgrading SharePoint Products...
    10.00%Failed to upgrade SharePoint Products.
    An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfig
    urationTaskException was thrown. Additional exception information: The upgrade
    command is invalid or a failure has been encountered.
    Failed to upgrade SharePoint Products.
    Total number of configuration settings run: 5
    Total number of successful configuration settings: 4
    Total number of unsuccessful configuration settings: 1
    Successfully stopped the configuration of SharePoint Products.
    Configuration of SharePoint Products failed. Configuration must be performed be
    fore you use SharePoint Products. For further details, see the diagnostic log l
    ocated at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1
    4\LOGS\PSCDiagnostics_10_9_2013_12_47_54_528_1859316720.log and the application
    event log.
    This is the warnings and errors that the log contained:
    10/09/2013 12:48:16 10 WRN Found registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ComponentsToRegister, but the SubKeyCount is zero
    10/09/2013 12:48:24 10 WRN Failed to add the service connection point for this farm
    10/09/2013 12:48:24 10 WRN Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
    Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=acheson-glover,DC=com doesn't exist in the directory.
    at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
    10/09/2013 12:48:40 10 ERR The exclusive inplace upgrader timer job failed.
    10/09/2013 12:48:40 10 ERR Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: The upgrade command is invalid or a failure has been encountered.
    Failed to upgrade SharePoint Products.
    10/09/2013 12:48:40 10 ERR An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: The upgrade command is invalid or a failure has been encountered.
    Failed to upgrade SharePoint Products.
    Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException: Exception of type 'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException' was thrown.
    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    10/09/2013 12:48:40 10 ERR Task upgrade has failed
    10/09/2013 12:48:40 1 ERR Task upgrade SharePoint Products failed, so stopping execution of the engine
    10/09/2013 12:48:40 1 ERR Failed to upgrade SharePoint Products.
    An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: The upgrade command is invalid or a failure has been encountered.
    Failed to upgrade SharePoint Products.
    Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException: Exception of type 'Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException' was thrown.
    at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
    at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    10/09/2013 12:48:41 1 ERR One or more configuration tasks has failed or some tasks were not run
    10/09/2013 12:48:41 1 ERR One or more configuration tasks has failed to execute
    10/09/2013 12:48:41 1 ERR Configuration of SharePoint Products failed. Configuration must be performed in order for this product to operate properly. To diagnose the problem, review the extended error information located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\PSCDiagnostics_10_9_2013_12_47_54_528_1859316720.log, fix the problem, and run this configuration wizard again.
    10/09/2013 12:48:41 1 ERR Post setup configuration was not run successfully when using the command line task driver module
    How do I resolve this?
    Cheers
    Paul

    Hi,
    SharePoint Foundation the search service should be installed by default.  It's not the same as with 2010 Standard or Enterprise where you can create a "Service Application" for it.
    Follow this article to configure SharePoint Foundation Search:
    http://plexhosted.blogspot.com/2011/11/how-to-configure-sharepoint-foundation.html
    Meanwhile, here is a thread which discusses the similar question:
    Configuration of SharePoint Foundation 2010 Search
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/af57728f-ae20-477b-8c67-2b594a1a72de/configuration-of-sharepoint-foundation-2010-search?forum=sharepointadminprevious
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Search request issue in GRC AC10.0

    Hello Experts,
    When we want to check the status of the request logged by others by using the below option we are not getting any results
    GRC 10.0 with SP14.
    My Home ->My Profile -> Request Status then click on the Change Query. In the Change query screen enter the request number created by others and click on Preview.
    This is not authorization issue. We tested with user having SAP_ALL authorization.
    Does anyone has any idea?
    Thanks in advance
    Hari

    Hi Hari,
    When we talk about page My Home  / My Profile, this shows the information which is related to me/us only. If end user logon using this page/link, he/she can see his/her own data.
    Change Query is to filter the existing data which comes at the time of loading/refreshing the window. This should not show data out of scope.
    So request status using my home page would not be able to show data for other users.
    Search Request link is the only way to check others request data.
    Thanks & Regards
    Neeraj

  • Search query returning ALL records

    DW CS3 - MS Access - ASP/VBScript
    I have a search form for records to display on the same page with keywords highlighted.  The search is returning ALL records and highlighting keywords throughout rather than returning specific records with the searched word.  What am I missing?  I'm sure it's something terribly simple.....
              <input name="search" type="text" id="search" value="<%= Request.QueryString("search") %>" />
              SELECT item, item, item, item
              FROM tbl_name
              WHERE item OR item OR item LIKE %MMColParam%
              ORDER BY sql_orderby, Date DESC
              Name: MMColParam
              Type: Text
              Value: Request.Querystring("search")
              Default Value: %

    I was using the word "item" as an example for multiple columns without actually naming them - they are not the same.  I should've used this example:
    SELECT shoes, socks, hats, gloves
    FROM tbl_apparel
    WHERE shoes OR socks OR hats LIKE %MMColParam%
    ORDER BY sql_orderby, Date DESC
    In the past, I had four duplicate query parameters for four columns which worked fine.  But since I only have one search term, I thought I could eliminate three of the duplicate parameters and use just one with the OR statement.
    In the past, you questioned me on this.  You stated, "You only have one search term and so all of the parameters have the same value, but DW still wants to creates 4 parameters. If you were coding this by hand you wouldn't do it that way, but DW's one-size-fits-all code generates four seperate parms. It's nothing to worry about."

  • DBMS_CUBE.BUILD return status

    Hi,
    using 11gR2, does anyone know how can one determine the return status of a DBMS_CUBE.BUILD() call, i.e., was the update successful and committed or unsuccessful and rolled back? (note that I'm using the atomic_refresh option).
    Thanks,
    Chris

    Hi David,
    Thanks for the answer. In fact what I did finally is, since I know in advance the time interval I'm loading, check that the particular cell for the very last time period is indeed loaded, e.g., using a request like this one:
      SELECT calls
          INTO result
          FROM cll_traffic_view  /* Cube view generated by AWM */
         WHERE datetime = 'HH' || to_char(end_hh, 'FM000000')
           AND vnumber = 'ALL'
           AND account = 'ALL'
           AND callstate = 'ALL';
        IF result > 0 THEN
          ... load successful
        END IF;
      Possibly not the most orthodox way of doing this but it seems to garantee the desired atomicity.
    Regards,
    Chris

  • Strange error in requests returning huge data

    Hi
    Whenever a request returns huge data, we get the following error, which is annoying because there is no online source or documentation about this error:
    Odbc driver returned an error (SQLFetchScroll).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46073] Operation 'stat()' on file '/orabi/OracleBIData/tmp/nQS_3898_715_34357490.TMP' failed with error: (75) ¾§ . (HY000)
    Any idea what might be wrong?
    Thanks

    The TMP folder is also "working" directory for the cache management (not exclusively). OBIEE tries to check if the report can be run against a cache entry using the info in this file.
    Check if MAX_ROWS_PER_CACHE_ENTRY , MAX_ROWS_PER_CACHE_ENTRY and MAX_CACHE_ENTRY_SIZE are set correctly.
    Regards
    John
    http://obiee101.blogspot.com

  • Search response returning 100 items for all searches

    Hi,
    In ATG 10 Search, I see wierd behavior while displaying the value of FacetSearchTools.searchResponse.
    Case #1 : total no. of products < 100 , responseCount = correct value AND all products displayed by paginating
    Case #2 : total no. of products > 100 , responseCount = 100 AND only 100 products listed in the pagination
    In the below XML total items is 617 but responseCount=100.(Sending the part of XML due to limited characters)
    Any guess on this issue?
    Thanks in advance!
    Mani
    <answer printer="Java" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" id="0004670052" time="1340746281659" sorting="property" sortProp="string:$repositoryId:1" docSetSort="none" mode="and" strategy="normal" refineMax="50" refineMin="0" refineMinVal="2" refineTop="500" refineDebug="true" autospell="true" highlight="false" minScore="0" pageNum="0" pageSize="15" maxRelatedSets="0" docSort="relevance" docSortOrder="descending" docSortCase="true" docSortPropVal="first" responseCount="100" groupCount="100" docCand="738" docMax="754" docMin="754" ansCand="4737" ansMax="5203" ansMin="5203" ansPool="500"> <question>maps</question> <userquestion>maps</userquestion> <info>unknown rank config: cfg7004|</info> <documentSets> <and> <or name="base"> <and> <strprop name="catalogs.$repositoryId" op="equal" case="true">masterCatalog</strprop> <strprop name="catalogs.$repositoryId" op="equal" case="true">masterCatalog</strprop> </and> </or> <or name="refinement"> <numprop name="isSearchable" op="equal">1.0</numprop> </or> </and> </documentSets> <spelling> <term text="maps" offset="1" length="4"></term> </spelling> <parserOptions> <language>english</language> <propertyMapping>price,childSKUs.price@salePrices,childSKUs.price@listPrices</propertyMapping> </parserOptions> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="0" answerGroup="1" type="ANCESTORCATEGORIES.DISPLAYNAME" field="17" sortprop="1020300"> <text score="99.49" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="466">Maps</text> <document contextID="352:466.470" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="466" hdoc="352" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/1020300?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="1020300"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="1" answerGroup="2" type="ANCESTORCATEGORIES.DISPLAYNAME" field="18" sortprop="315"> <text score="99.49" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="609">Maps</text> <document contextID="1377:609.613" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="609" hdoc="1377" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/315?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="315"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="2" answerGroup="3" type="ANCESTORCATEGORIES.DISPLAYNAME" field="19" sortprop="810"> <text score="99.48" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="631">Maps</text> <document contextID="2709:631.635" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="631" hdoc="2709" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/810?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="810"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="3" answerGroup="4" type="ANCESTORCATEGORIES.DISPLAYNAME" field="20" sortprop="1023051"> <text score="99.48" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="578">Maps</text> <document contextID="2735:578.582" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="578" hdoc="2735" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/1023051?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="1023051"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="4" answerGroup="5" type="ANCESTORCATEGORIES.DISPLAYNAME" field="21" sortprop="1020339"> <text score="99.48" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="674">Maps</text> <document contextID="506:674.678" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="674" hdoc="506" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/1020339?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="1020339"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="5" answerGroup="6" type="ANCESTORCATEGORIES.DISPLAYNAME" field="21" sortprop="1074529"> <text score="99.47" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="680">Maps</text> <document contextID="1198:680.684" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="680" hdoc="1198" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/1074529?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="1074529"></meta> </properties> </document> </response> <response contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" score="995.0" id="6" answerGroup="7" type="ANCESTORCATEGORIES.DISPLAYNAME" field="17" sortprop="1072016"> <text score="99.47" name="ANCESTORCATEGORIES.DISPLAYNAME" goto="455">Maps</text> <document contextID="2737:455.459" contentID="ec58cd16-eb6c-44a1-8e93-cf4c3ba5a4e8" goto="455" hdoc="2737" size="0" docset="/Solutions"> <_url>atgrep:/CustomProductCatalog/product/1072016?catalog=masterCatalog&amp;locale=en_US</_url> <timestamp>0</timestamp> <properties> <meta name="$itemDescriptor.itemDescriptorName" content="product"></meta> <meta name="$repository.repositoryName" content="CustomProductCatalog"></meta> <meta name="$repositoryId" content="1072016"></meta> </properties> </document> </response>
    .

    The search server returns the results in the form of groups. You can notice the groupCount value in the xml is set to 100. The value of the groupCount is determined by setting the responseNumberSettings property in the QueryRequest component.
    responseNumberSettings=\
    prop=100,\
    perProp=1,\
    doc=100,\
    perDoc=1
    You can notice here that the value of the doc property is set to 100. It indicates maximum number of document result groups to return. I believe this is the reason why you are only seeing 100 results though the total number of products are more. You can tweak this property in the QueryRequest component and try.
    <ATGDir>\DCS\Search\Query\config\config\atg\commerce\search\catalog\QueryRequest.properties.

  • Returns status code '500' (Internal Server Error) in response

    Hi,
    I got error like
    HTTP connection to http://XXX.com:50600/sap/xi/cache?sap-client=001 returns status code '500' (Internal Server Error) in response
    I did check this Discussion HTTP returns status is 500(Internal Server Error)
    But I don't understand can someone help me in detail.
    Thanks
    Kamal

    Hi All,
    When I check RFC destination configuration with following information.
    RFC Destination as "INTEGRATION_DIRECTORY_HMI"
    Connection Type: H
    Under Technical Setting TAB
    Target Host: write the host name
    Path Prefix: /dir/CacheRefresh
    Service No: enter J2ee port no (e.g. 50000)
    Under Logon/Security TAB
    select Basic Authontication radio button
    SSL select inactive
    Under Logon:
    Lang: EN
    Client: enter client
    User: XIISUSER
    Password: *******
    Under Special Option TAB
    HTTP Setting:
    HTTP Ver: HTTP 1.0
    Compression: inactive
    Compressed response: NO
    HTTP Cookies: Yes (All)
    This is the test result.
    Status HTTP response : 403
    Status text : Forbidden
    Duration test call : 163 ms
    Please help me.
    Thanks,
    Kamal

  • In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status?

    Hi Team,
    My requirement is In service order Search page,In Service Order Search criteria, In Status value drop down i have to show only user status values only? how to do it..now in my status drop down values system status values also displayed ,i want only user status values only i have to show...how to do it?
    Thanks
    Kalpana

    Hi Kalpana
    As Standard there are 2 separate search fields for Status.
    One for User Status
    One for System Status
    Are you sure that the other Status value you require are not for other Service Transactions different to the one you are wanting to search on?
    If you need to make a only the User Status for  a given selected Transaction Type, then you would need to make an enhancement to that Component
    Regards
    Arden

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • R12 update_vendor_site return status

    I am trying to update an existing supplier site and making this call :
    pos_vendor_pub_pkg.update_vendor_site(
    p_vendor_site_rec => vendor_site_rec,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data);
    The return status is : "U" and the return message is "FND". I assume that successfull update should return me status "S" with no messages.
    Seems like "FND" stands for found ( which is normal in case of Update ) What does status "U" mean? Was the site successfully updated?
    thanks in advance.

    This API does not exist in R12.
    I have read in the API definition that it does not update TCA info. I assume this is why the update does not work in R12.
    Does anyone know how to update a vendor site or contact in R12???
    Thanks

Maybe you are looking for

  • Purchase Order Release Workflow

    Hi,   I need to create the Workflow for the PO approval process. I am new to workflow.There are 4 level based on different dollar value.The email should go from one level to next for the approval. Dollar value 1-10               level1 11-20         

  • Sync/Async without BPM

    Hello Experts, Can you please post your experiences on this issue. I am working on this SYNC/ASYNC scenario. REQUEST ABAP Proxy -> PI -> JMS receiver adatper -> IBM MQ RESPONSE IBM MQ --> JMS Sender adapter -> JMS receiver adapter Here it is going in

  • Issue with SOAP receiver

    Hi, I'm using PI 7.0, SP13 and I'm sending a message to a MS webservice, using BURP as a proxy in between to avoid NTLM authorisation issues. The problem is that it's perfecly possible to send a message using soapUI, but sending the exact same messag

  • Synched photos now show up triple.

    I have just upgraded my Iphone and when Synching my phone the photos resynch each time and by doing this I know have all the photos from my computer on my Iphone 3x each.  How can I stop this from happening everytime I synch?  Also How can I delete t

  • Formatting does not change Visited Links color.

    When I format my links I select: Blue for steady state Red for rollover effect Grey for visited. When I publish the site via FTP the links stay blue even if you have visited them. Any way to make these turn gray like the formatting option indicates?