Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: clients - java
    • Labels:
      None
    • Environment:

      Java 1,5, Solr 1.3

      Description

      We have created a Java EmbeddedSolrServer Client Code, I can able to add, delete, update the Solr content - At the same time i cant able to search the updated conente from the Running Solr client(jetty) web interface.

      My requirement is, All search need to happen from/by running web Solr(jetty, 8983) and all write should happened from Java client code.

      Both(jeety and javaclient) are using 'Core0' as core name, and both data directory, schema, solrconfig are same. - is there any fix available??

      is it possible to handle the read/search by webinterface, and all write from java-client(with out http) ????

        Activity

        Hide
        Ryan McKinley added a comment -

        what is the bug? The proposed usage seems fine.... is it not working?

        Is this is usage question? If so, try posting the question to solr-user@lucene.apache.org rather then opening a JIRA issues.

        Show
        Ryan McKinley added a comment - what is the bug? The proposed usage seems fine.... is it not working? Is this is usage question? If so, try posting the question to solr-user@lucene.apache.org rather then opening a JIRA issues.
        Hide
        doss added a comment -

        I am not sure it is usage issue.

        Case1:
        1) solr started in 8983 port as Core0,
        2) Running a java client(Core0) to add one record say "hitest", with commit
        3) when i search for hitest, am not getting any result,
        4) after i restart the solr(8983) and search for 'hitest' am getting the result.

          • both Solr, java client is using the same dada directory, schema.xml, solrconfig.xml
            fyi: even this java client is working when solr is not started

        If you still suggest me to post in solr-user@...., ok with that. and if anybody require the code i can post here.... Or anybody have right code sample, Please let me know the Url to download.

        Thanks,

        Show
        doss added a comment - I am not sure it is usage issue. Case1: 1) solr started in 8983 port as Core0, 2) Running a java client(Core0) to add one record say "hitest", with commit 3) when i search for hitest, am not getting any result, 4) after i restart the solr(8983) and search for 'hitest' am getting the result. both Solr, java client is using the same dada directory, schema.xml, solrconfig.xml fyi: even this java client is working when solr is not started If you still suggest me to post in solr-user@...., ok with that. and if anybody require the code i can post here.... Or anybody have right code sample, Please let me know the Url to download. Thanks,
        Hide
        Ryan McKinley added a comment -

        you will need to issues <commit/> to the jetty webapp also. This will flush the current caches and reopen the index.

        Show
        Ryan McKinley added a comment - you will need to issues <commit/> to the jetty webapp also. This will flush the current caches and reopen the index.
        Hide
        Goutham added a comment -

        "is it possible to handle the read/search by webinterface, and all write from java-client(with out http)EmbeddedSolrServer ???? "
        for solr multicore support? How ti issue commit to jetty web app also ? whether i need to modify inside source? i am using solr3.1.0.

        Show
        Goutham added a comment - "is it possible to handle the read/search by webinterface, and all write from java-client(with out http)EmbeddedSolrServer ???? " for solr multicore support? How ti issue commit to jetty web app also ? whether i need to modify inside source? i am using solr3.1.0.

          People

          • Assignee:
            Unassigned
            Reporter:
            doss
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development