You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "kalidoss (JIRA)" <ji...@apache.org> on 2008/12/30 07:05:44 UTC

[jira] Created: (SOLR-944) Solr EmbeddedSolrServer Client

Solr EmbeddedSolrServer Client
------------------------------

                 Key: SOLR-944
                 URL: https://issues.apache.org/jira/browse/SOLR-944
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 1.3
         Environment: Java 1,5, Solr 1.3
            Reporter: kalidoss


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) ???? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-944) Solr EmbeddedSolrServer Client

Posted by "doss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659789#action_12659789 ] 

doss commented on SOLR-944:
---------------------------

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,

> Solr EmbeddedSolrServer Client
> ------------------------------
>
>                 Key: SOLR-944
>                 URL: https://issues.apache.org/jira/browse/SOLR-944
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: Java 1,5, Solr 1.3
>            Reporter: doss
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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) ???? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-944) Solr EmbeddedSolrServer Client

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659839#action_12659839 ] 

Ryan McKinley commented on SOLR-944:
------------------------------------

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


> Solr EmbeddedSolrServer Client
> ------------------------------
>
>                 Key: SOLR-944
>                 URL: https://issues.apache.org/jira/browse/SOLR-944
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: Java 1,5, Solr 1.3
>            Reporter: doss
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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) ???? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-944) Solr EmbeddedSolrServer Client

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659744#action_12659744 ] 

Ryan McKinley commented on SOLR-944:
------------------------------------

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.

> Solr EmbeddedSolrServer Client
> ------------------------------
>
>                 Key: SOLR-944
>                 URL: https://issues.apache.org/jira/browse/SOLR-944
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: Java 1,5, Solr 1.3
>            Reporter: kalidoss
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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) ???? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-944) Solr EmbeddedSolrServer Client

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley resolved SOLR-944.
--------------------------------

    Resolution: Invalid

> Solr EmbeddedSolrServer Client
> ------------------------------
>
>                 Key: SOLR-944
>                 URL: https://issues.apache.org/jira/browse/SOLR-944
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>         Environment: Java 1,5, Solr 1.3
>            Reporter: doss
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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) ???? 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.