org.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
Does anybody know why this error shows up? org.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind I have developed a solr plugin and have been querying to my plugin with multiple requests then only this error shows up. if i request single query to the plugin it wont show this problem. -- View this message in context: http://lucene.472066.n3.nabble.com/org-apache-solr-client-solrj-SolrServerException-java-net-SocketException-Unrecognized-Windows-Socked-tp4001594.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to read SOLR cache statistics?
Hi Li Li, I have been through that WIKI before but that does not explain what is *evictions*, *inserts*, *cumulative_inserts*, *cumulative_evictions*, *hitratio *and all. These terms are foreign to me. What does the following line mean? *item_ABC : {field=ABC,memSize=340592,tindexSize=1192,time=1360,phase1=1344,nTerms=7373,bigTerms=1,termInstances=11513,uses=4} * I want that kind of explanation. I have read the wiki and the comments in the solrconfig.xml file about all these things but does say how to read the stats which is very *important!!!*. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-read-SOLR-cache-statistics-tp3907294p3907633.html Sent from the Solr - User mailing list archive at Nabble.com.
How to read SOLR cache statistics?
Does anyone explain what does the following parameters mean in SOLR cache statistics? *name*: queryResultCache *class*: org.apache.solr.search.LRUCache *version*: 1.0 *description*: LRU Cache(maxSize=512, initialSize=512) *stats*: lookups : 98 *hits *: 59 *hitratio *: 0.60 *inserts *: 41 *evictions *: 0 *size *: 41 *warmupTime *: 0 *cumulative_lookups *: 98 *cumulative_hits *: 59 *cumulative_hitratio *: 0.60 *cumulative_inserts *: 39 *cumulative_evictions *: 0 AND also this *name*: fieldValueCache *class*: org.apache.solr.search.FastLRUCache *version*: 1.0 *description*: Concurrent LRU Cache(maxSize=1, initialSize=10, minSize=9000, acceptableSize=9500, cleanupThread=false) *stats*: *lookups *: 8 *hits *: 4 *hitratio *: 0.50 *inserts *: 2 *evictions *: 0 *size *: 2 *warmupTime *: 0 *cumulative_lookups *: 8 *cumulative_hits *: 4 *cumulative_hitratio *: 0.50 *cumulative_inserts *: 2 *cumulative_evictions *: 0 *item_ABC *: {field=ABC,memSize=340592,tindexSize=1192,time=1360,phase1=1344,nTerms=7373,bigTerms=1,termInstances=11513,uses=4} *item_BCD *: {field=BCD,memSize=341248,tindexSize=1952,time=1688,phase1=1688,nTerms=8075,bigTerms=0,termInstances=13510,uses=2} Without understanding these terms i cannot configure server for better cache usage. The point is searches are very slow. These stats were taken when server was down and restarted. I just want to understand what these terms mean actually -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-read-SOLR-cache-statistics-tp3907294p3907294.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Quantiles in SOLR ???
Thanks for sharing your intellectual knowledge but my basic question is not answered that whether either solr or lucene is using any method to calculate quantiles and/or using it anyway the quantiles anywhere if yes. Then i want to make use of the same thing rather creating a new one -- View this message in context: http://lucene.472066.n3.nabble.com/Quantiles-in-SOLR-tp3870084p3880885.html Sent from the Solr - User mailing list archive at Nabble.com.
Quantiles in SOLR ???
Hi all, I am doing R&D about SOLR using any quantiles function for a set. I need a quick-start road-map for modifying that quantiles function in my SOLR plugin. I am thinking that it might be using any third party tools or library for it. -- Kashif Khan -- View this message in context: http://lucene.472066.n3.nabble.com/Quantiles-in-SOLR-tp3870084p3870084.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Do we need reindexing from solr 1.4.1 to 3.5.0?
we have both stored = true and false fields in the schema. So we cant reindex wat u said. we have tried that earlier. -- View this message in context: http://lucene.472066.n3.nabble.com/Do-we-need-reindexing-from-solr-1-4-1-to-3-5-0-tp3739353p3749631.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Do we need reindexing from solr 1.4.1 to 3.5.0?
I kept old schema files and solrconfig file but there were some errors due to which solr was not loading. I dono what are those things. We have few our own custom plugins developed with 1.4.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Do-we-need-reindexing-from-solr-1-4-1-to-3-5-0-tp3739353p3749629.html Sent from the Solr - User mailing list archive at Nabble.com.
Do we need reindexing from solr 1.4.1 to 3.5.0?
Do we need to reindex solr data which was indexed using solr 1.4.1 in order to upgrade it to solr 3.5.0? Because indexing is really a huge costly process in our case because the data generated needs some calculations which takes lot of time. Else otherwise if there is any other tool which can update lucene indexes all by itself please do let me know. Kashif Khan -- View this message in context: http://lucene.472066.n3.nabble.com/Do-we-need-reindexing-from-solr-1-4-1-to-3-5-0-tp3739353p3739353.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How do i do group by in solr with multiple shards?
Hi Erick, I have tried grouping with and without shards using solr 3.3. I know solr 3.3 does not support grouping with multiple shards. We have been waiting for 3.5.0 and nw it is available and we will try with that. The reason i am looking for grouping is posted in this link. Please advice me how can i achieve that in the custom request handler. We have very less time to do R&D in that so i had to post this. -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-i-do-group-by-in-solr-with-multiple-shards-in-solr-3-3-tp3728555p3732148.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Sorting solrdocumentlist object after querying
hey Tommaso, That result grouping is during the query but i want to sort the solrdocumentlist after it has been queried and i hv injected few solrdocs in the solrdocumentlist. Thus i want this solrdocumentlist to be sorted based on the fields i specify and cannot query the solr for result grouping cos those injected documents are not available in that solr also that result grouping is not working with multiple shards -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-solrdocumentlist-object-after-querying-tp3726303p3732120.html Sent from the Solr - User mailing list archive at Nabble.com.
How do i do group by in solr with multiple shards?
Hi all, I have tried group by in solr with multiple shards but it does not work. Basically i want to simply do GROUP BY statement like in SQL in solr with multiple shards. Please suggest me how can i do this as it is not supported currently OOB by solr. Thanks & regards, Kashif Khan -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-i-do-group-by-in-solr-with-multiple-shards-tp3728555p3728555.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Sorting solrdocumentlist object after querying
No that sorting is based on multiple fields. Basically i want to sort them as the group by statement like in the SQL based on few fields and many loops to go through. The problem is that i have say 1,000,000 solr docs after injecting my few solr docs and then i want to do group by these solr docs by some fields and then take 20 records for paging. So i need some shortcut for that. -- Kashif Khan. http://www.kashifkhan.in On Wed, Feb 8, 2012 at 11:07 PM, iorixxx [via Lucene] < ml-node+s472066n3726788...@n3.nabble.com> wrote: > > I want to sort a SolrDocumentList after it has been queried > > and obtained > > from the QueryResponse.getResults(). The reason is i have a > > SolrDocumentList > > obtained after querying using QueryResponse.getResults() and > > i have added > > few docs to it. Now i want to sort this SolrDocumentList > > based on the same > > fields i did the querying before i modified this > > SolrDocumentList. > > QueryResponse.getResults() will return rows many documents. Cant you sort > them (plus your injected documents) with your own? > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Sorting-solrdocumentlist-object-after-querying-tp3726303p3726788.html > To unsubscribe from Sorting solrdocumentlist object after querying, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3726303&code=dXBsaW5rMjAxMEBnbWFpbC5jb218MzcyNjMwM3wtMTgzODU3NDI3OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-solrdocumentlist-object-after-querying-tp3726303p3728549.html Sent from the Solr - User mailing list archive at Nabble.com.
Sorting solrdocumentlist object after querying
Hi all, I want to sort a SolrDocumentList after it has been queried and obtained from the QueryResponse.getResults(). The reason is i have a SolrDocumentList obtained after querying using QueryResponse.getResults() and i have added few docs to it. Now i want to sort this SolrDocumentList based on the same fields i did the querying before i modified this SolrDocumentList. Please advice any alternatives with sample code will be appreciated a lot if this is not possible. It is an emergency -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-solrdocumentlist-object-after-querying-tp3726303p3726303.html Sent from the Solr - User mailing list archive at Nabble.com.
What does this mean?
I have field value cache stats. Anyone can tell me whether this shows any problem with respect to performance? name:fieldCache class: org.apache.solr.search.SolrFieldCacheMBean version: 1.0 description: Provides introspection of the Lucene FieldCache, this is **NOT** a cache that is managed by Solr. stats: entries_count : 4 entry#0 : 'ReadOnlyDirectoryReader(segments_pz4 _28c(2.x):C127800/127800 _5rb(2.x):C130681/130681 _7pw(2.x):C64679/64679 _b9z(2.x):C112359/112359 _ese(2.x):C127711/14 _gwj(2.x):C131443 _lc0(2.x):C129588 _orx(2.x):C116270 _s20(2.x):C113641 _sos(2.x):C12805 _ss5(2.x):C11009 _ssf(2.x):C1010 _ssq(2.x):C1010 _st1(2.x):C1010 _stc(2.x):C1010 _stn(2.x):C1010 _sto(2.x):C101 _stp(2.x):C101 _stq(2.x):C101 _str(2.x):C101 _sts(2.x):C101 _stt(2.x):C101 _stu(2.x):C101 _stv(2.x):C101 _stw(2.x):C101)'=>'2',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#26094814 entry#1 : 'ReadOnlyDirectoryReader(segments_pz4 _28c(2.x):C127800/127800 _5rb(2.x):C130681/130681 _7pw(2.x):C64679/64679 _b9z(2.x):C112359/112359 _ese(2.x):C127711/14 _gwj(2.x):C131443 _lc0(2.x):C129588 _orx(2.x):C116270 _s20(2.x):C113641 _sos(2.x):C12805 _ss5(2.x):C11009 _ssf(2.x):C1010 _ssq(2.x):C1010 _st1(2.x):C1010 _stc(2.x):C1010 _stn(2.x):C1010 _sto(2.x):C101 _stp(2.x):C101 _stq(2.x):C101 _str(2.x):C101 _sts(2.x):C101 _stt(2.x):C101 _stu(2.x):C101 _stv(2.x):C101 _stw(2.x):C101)'=>'S677',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#19129406 entry#2 : 'ReadOnlyDirectoryReader(segments_pz4 _28c(2.x):C127800/127800 _5rb(2.x):C130681/130681 _7pw(2.x):C64679/64679 _b9z(2.x):C112359/112359 _ese(2.x):C127711/14 _gwj(2.x):C131443 _lc0(2.x):C129588 _orx(2.x):C116270 _s20(2.x):C113641 _sos(2.x):C12805 _ss5(2.x):C11009 _ssf(2.x):C1010 _ssq(2.x):C1010 _st1(2.x):C1010 _stc(2.x):C1010 _stn(2.x):C1010 _sto(2.x):C101 _stp(2.x):C101 _stq(2.x):C101 _str(2.x):C101 _sts(2.x):C101 _stt(2.x):C101 _stu(2.x):C101 _stv(2.x):C101 _stw(2.x):C101)'=>'648',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#22924041 entry#3 : 'ReadOnlyDirectoryReader(segments_pz4 _28c(2.x):C127800/127800 _5rb(2.x):C130681/130681 _7pw(2.x):C64679/64679 _b9z(2.x):C112359/112359 _ese(2.x):C127711/14 _gwj(2.x):C131443 _lc0(2.x):C129588 _orx(2.x):C116270 _s20(2.x):C113641 _sos(2.x):C12805 _ss5(2.x):C11009 _ssf(2.x):C1010 _ssq(2.x):C1010 _st1(2.x):C1010 _stc(2.x):C1010 _stn(2.x):C1010 _sto(2.x):C101 _stp(2.x):C101 _stq(2.x):C101 _str(2.x):C101 _sts(2.x):C101 _stt(2.x):C101 _stu(2.x):C101 _stv(2.x):C101 _stw(2.x):C101)'=>'359',class org.apache.lucene.search.FieldCache$StringIndex,null=>org.apache.lucene.search.FieldCache$StringIndex#12376920 insanity_count : 0 -- View this message in context: http://lucene.472066.n3.nabble.com/What-does-this-mean-tp3581884p3581884.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to improve facet search?
I have increased the filtercache values as to as and and but still it performs as in seconds. I have got shards along with an average of 6 gb of data is indexed including the shards. But in production servers the data including shards has average of 80Gb data. it has 4,273 unique terms after doing facet search for a particular query. Are you asking unique terms for *:* query or for some particular query? 1 gb of ram is allocated for each shard. -- Kashif Khan. B.E., +91 99805 57379 http://www.kashifkhan.in On Thu, Dec 8, 2011 at 4:53 PM, pravesh [via Lucene] < ml-node+s472066n3570048...@n3.nabble.com> wrote: > How many unique terms do you have in the faceting field > Since there are lot of evictions, consider increasing the size of the > filtercache. Try to keep evictions to min. > > BTW how much is your index size (GB/MB??) How much RAM is allocated? > > Above All: Have you benchmarked your search? Is searching done in > milis/secs/mins?? I am trying to understand if your search could already be > performing quite good/OK. > > Regards > Pravesh > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/How-to-improve-facet-search-tp3569910p3570048.html > To unsubscribe from How to improve facet search?, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3569910&code=dXBsaW5rMjAxMEBnbWFpbC5jb218MzU2OTkxMHwtMTgzODU3NDI3OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-facet-search-tp3569910p3570246.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to improve facet search?
filed type is either long or string. Solr Statistics are: *name: * filterCache *class: * org.apache.solr.search.FastLRUCache * version: * 1.0 *description: * Concurrent LRU Cache(maxSize=512, initialSize=512, minSize=460, acceptableSize=486, cleanupThread=false) * stats: * lookups : 6679 hits : 1216 hitratio : 0.18 inserts : 5488 evictions : 5011 size : 477 warmupTime : 0 cumulative_lookups : 6679 cumulative_hits : 1216 cumulative_hitratio : 0.18 cumulative_inserts : 5488 cumulative_evictions : 5011 -- Kashif Khan. B.E., +91 99805 57379 http://www.kashifkhan.in On Thu, Dec 8, 2011 at 3:55 PM, pravesh [via Lucene] < ml-node+s472066n3569955...@n3.nabble.com> wrote: > What is the type of the field on which you are getting facets (string, > Text, int, date etc.). Is it multivalued or not? > How many unique values do you have for the field? > > What is your filtercache setting in your solrconfig.xml? > > Regards > Pravesh > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/How-to-improve-facet-search-tp3569910p3569955.html > To unsubscribe from How to improve facet search?, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3569910&code=dXBsaW5rMjAxMEBnbWFpbC5jb218MzU2OTkxMHwtMTgzODU3NDI3OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-facet-search-tp3569910p3569978.html Sent from the Solr - User mailing list archive at Nabble.com.
How to improve facet search?
I have a query and faceting on one field. i want to improve the speed of getting this facet please advise me the solutions what are all the options available to get this facet faster. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-improve-facet-search-tp3569910p3569910.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr request handler queries in fiddler
i am already using eclipse jetty for debugging but it is really hectic when we have shards and queries going to each shard i want to skip it and see in the fiddler rather. -- Kashif Khan. B.E., +91 99805 57379 http://www.kashifkhan.in On Wed, Dec 7, 2011 at 12:54 PM, Dmitry Kan [via Lucene] < ml-node+s472066n351...@n3.nabble.com> wrote: > If you mean debugging the queries, you can use eclipse+jetty plugin setup > ( > http://code.google.com/p/run-jetty-run/) with solr web app ( > > http://hokiesuns.blogspot.com/2010/01/setting-up-apache-solr-in-eclipse.html > ) > > On Tue, Dec 6, 2011 at 2:57 PM, Kashif Khan <[hidden > email]<http://user/SendEmail.jtp?type=node&node=351&i=0>> > wrote: > > > Hi all, > > > > I have developed a solr request handler in which i am querying for > shards > > and mergin the results but i do not see any queries in the fiddler. How > can > > i track or capture the queries from the request handler in the fiddler > to > > see the queries and what setting i have to do for that. Please help me > out > > with this. > > > > Thank u in advance > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/Solr-request-handler-queries-in-fiddler-tp3564260p3564260.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > > -- > Regards, > > Dmitry Kan > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/Solr-request-handler-queries-in-fiddler-tp3564260p351.html > To unsubscribe from Solr request handler queries in fiddler, click > here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3564260&code=dXBsaW5rMjAxMEBnbWFpbC5jb218MzU2NDI2MHwtMTgzODU3NDI3OQ==> > . > NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-request-handler-queries-in-fiddler-tp3564260p3566778.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr request handler queries in fiddler
Hi all, I have developed a solr request handler in which i am querying for shards and mergin the results but i do not see any queries in the fiddler. How can i track or capture the queries from the request handler in the fiddler to see the queries and what setting i have to do for that. Please help me out with this. Thank u in advance -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-request-handler-queries-in-fiddler-tp3564260p3564260.html Sent from the Solr - User mailing list archive at Nabble.com.
Facet on a field with rows=n
Hi all, i am looking for a solution where i want the facets to obtain based on the paging of solr documents. For ex:- say i hv a query *:* and set start=0 and rows=10 and then i want facets on any one of the fields in the 10 docs obtained and not on the entire docs for which the query was matched. Any intelligent people can solve my problem? -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-on-a-field-with-rows-n-tp3561083p3561083.html Sent from the Solr - User mailing list archive at Nabble.com.
How to reindex in solr
Hi all, I have my solr indexed completely and now i have added a new field in the schema which is a copyfield of another field. Please suggest me how can i reindex solr without going through formal process which i did for the first time because there are some fields whose data is really time consuming to obtain. I have been trying to reindex from solrj and indexes well except for those fields which have been mentioned as stored=false. Now on the production servers these indexing is getting failed because of the out of memory swap space. Please suggest some good method to reindex using lucene indexes with even stored=false. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-reindex-in-solr-tp3550871p3550871.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Add copyTo Field without re-indexing?
Please advise how we can reindex SOLR with having fields stored="false". we can not reindex data from the beginning just want to read and write indexes from the SOLRJ only. Please advise a solution. I know we can do it using lucene classes using indexreader and indexwriter but want to index all fields -- View this message in context: http://lucene.472066.n3.nabble.com/Add-copyTo-Field-without-re-indexing-tp3342253p3515020.html Sent from the Solr - User mailing list archive at Nabble.com.