Uddgam Singh | 18 Nov 12:36 2014
Picon

Could not connect to ZooKeeper x.x.x.x:2181/solr within 10000 ms

Hi Experts, Its an urgent issue, Please advice :- I am Running solrj
program which connect to Solr server and run queries and gives result-set.
Queries :-2 level Nested queries First level fetch 154 rows. Each row
contain 2 fields Second Level fetch only counts for 154 rows Now problem:-
It working fine for 50 rowset but when that rowset is set to 80, it gives
errors: org.apache.solr.common.SolrException:
java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
x.x.x.x:2181/solr within 10000 ms at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:151) at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:102) at
org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:92) at
org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:209)
at
org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:241)
at
org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:524)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
Loaded data set is of 7.2 MB Vmware configuration:- 4 core, 4 gb ram
Cloudera 4.5 setup.

--

-- 
With Regards,
Uddgam Singh
Jilani Shaik | 18 Nov 09:09 2014
Picon

mlt handler not giving response in Solr Cloud

Hi,

When I tried to execute the mlt handler query on a shard it is giving
result if the documents exist on that shards.

in below scenario, I have a cloud shards on localhost with ports 8181 and
8191. where documents are distributed. if the mlt query document id belongs
to 8181 shard and the query hits to 8181 shard then only I am getting the
results.

 No result
http://localhost:8181/solr/collectionName/mlt?q=id:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100

 Will give result
http://localhost:8191/solr/collectionName/mlt?q=id:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100

*So the distributed search is not working for mlt handler(my assumption,
please correct). *

Even I tried with the below

http://localhost:8181/solr/collectionName/mlt?q=owui_p:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100&
*shards.qt=/mlt&shards=localhost:8181/solr/,localhost:8191/solr/*

http://localhost:8181/solr/collectionName/mlt?q=owui_p:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100
*&shards.qt=/mlt&shards=localhost:8181/solr/collectionName/,localhost:8191/solr/collectionName/*

even I tried with select handler and with mlt as true also not working.

http://localhost:8181/solr/collectionName/*select?mlt=true*
(Continue reading)

Jilani Shaik | 18 Nov 09:10 2014
Picon

mlt handler not giving response in Solr Cloud

Hi,

When I tried to execute the mlt handler query on a shard it is giving
result if the documents exist on that shards.

in below scenario, I have a cloud shards on localhost with ports 8181 and
8191. where documents are distributed. if the mlt query document id belongs
to 8181 shard and the query hits to 8181 shard then only I am getting the
results.

 No result
http://localhost:8181/solr/collectionName/mlt?q=id:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100

 Will give result
http://localhost:8191/solr/collectionName/mlt?q=id:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100

*So the distributed search is not working for mlt handler(my assumption,
please correct). *

Even I tried with the below

http://localhost:8181/solr/collectionName/mlt?q=owui_p:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100&
*shards.qt=/mlt&shards=localhost:8181/solr/,localhost:8191/solr/*

http://localhost:8181/solr/collectionName/mlt?q=owui_p:medl_24806189&fq=segment:medl&fl=id,owui_p&rows=100
*&shards.qt=/mlt&shards=localhost:8181/solr/collectionName/,localhost:8191/solr/collectionName/*

even I tried with select handler and with mlt as true also not working.

http://localhost:8181/solr/collectionName/*select?mlt=true*
(Continue reading)

roy123 | 18 Nov 01:24 2014
Picon

Solr 5 release date ?

Hi,

  Does anyone when Solr 5.0 is scheduled to release ? I'm planning to
upgrade to 4.10.2, but will wait if there's a plan to roll-out 5.0 pretty
soon.

-Thanks

--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-5-release-date-tp4169571.html
Sent from the Solr - User mailing list archive at Nabble.com.

Arpit Agarwal | 17 Nov 23:59 2014
Picon

chaos monkey

Hi All,
I have setup Solr 4.9.0 in a 3 shard configuration running on tomcat servers.
I want to run a test with chaos-monkey to ensure the availability of
the entire system.
Can someone tell me, how I can integrate chaos-monkey with Solr or
make use of Solr test-framework to do the same?

Thanks & Regards
Arpit A

Pritesh Patel | 17 Nov 22:43 2014
Picon

Internals of Analysis and Token Matching

Hi Community.

Hoping someone can help explain this ...

Once all the analysis is done on a field all the tokens to identify that
field are stored.  What else is affecting a match to the document beyond a
simple token match and frequency of terms that match?

All the searches I did produce the same tokens (verified by using the
analysis screen in the admin, and looking at the terms indexed in solr
through the schema browser for field).  But some match and some don't when
I actually do the search.  I don't know why some of the searches don't
match even though everything in the analysis tells me they have the same
tokens.  What am I missing?

*Descriptions*

*Indexed in a field*: "4048860461"

*Searches that Match*
"4048860461"
"(404)8860461"

*Searches that don't match*
"404-886-0461"
"404)8860461"
"404)886)0461"

*Field analysis*
Field analysis is pretty simple, just used the "text_en_splitting_tight"
(Continue reading)

Joseph Obernberger | 17 Nov 21:17 2014
Picon

More HDFS and Shard Splitting

Originally I had two shards on two machines - shard1 and shard2.
I did a SHARDSPLIT on shard1.
Now have shard1, shard2, and shard1_0
If I select the core (COLLECT_shard1_0_replica1) and execute a query, I get
all the docs OK, but if I specific &distrib=false, I get 0 documents.

Under HDFS - when/how will the new core start to get data?
Thank you!

-Joe
Joseph Obernberger | 17 Nov 20:13 2014
Picon

Shard splitting and HDFS

If I create the directory manually on the server that I'm splitting:
COLLECT_shard1_0_replica1
Then do the shard split command, it works OK.

-Joe
Joseph Obernberger | 17 Nov 19:42 2014
Picon

Shard splitting and HDFS

I tried to split a shard using HDFS storage, and at first I received this
error:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error
CREATEing SolrCore 'COLLECT1_shard1_0_replica1': Unable to create core
[COLLECT1_shard1_0_replica1] Caused by: Direct buffer memory
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
        at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
        at
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:157)
        at
org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:119)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

-------------
It appears that to do a split, you need to allocate double the amount of
direct memory for the HDFS cache.  After doing that, however, I'm getting
an error about not being able to find the clustering class:
219156 [qtp1312435169-19] ERROR org.apache.solr.core.SolrCore  â
org.apache.solr.common.SolrException: Error CREATEing SolrCore
COLLECT1_shard1_0_replica1': Unable to create core
[COLLECT1_shard1_0_replica1] Caused by: solr.clustering.ClusteringComponent
        at
org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:613)
        at
org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:199)
        at
(Continue reading)

eakarsu | 17 Nov 14:38 2014
Picon

Boosting mixed fiedl types

I have several field types and like to assign correct boosting so that I will
get results in correct order.
Here is a summary of what I have:
1- Product Title - text field , Boost = 160
2- Product Description - text field  , Boost = 80
3-Number of clicks - Integer field, having value [1 TO 1000] , Boost = 40
4- Product Features - text field , Boost = 20
5- AmountPurchased - Float field , Boost = 10
5- Product Properties - text field , Boost = 5

User will make a search q= "foo bar" and we expect solr will return results
based on Boost values assigned above. qf and pf can help me to assign
boosting for text fields easily. But I am having difficulty to mix text
fields with numeric ones. For example, I want product with Number of clicks
= 20 should be listed higher than one with 10 clicks after 1) and 2).

I guess solr, based on search results, will re order based boost values in
text fields but I want product with number of clicks 10 will be higher than
with clicks 5. As result, any products having clicks will have higher ranks
that products that has features that includes search keywords.

I hope I have explained correctly,

Can you please guide me on how to solve this issue?

Regards

Erol Akarsu

--
(Continue reading)

Bai Shen | 17 Nov 13:38 2014
Picon

Solr HTTP client authentication

I am using solrj to connect to my solr server.  However I need to
authenticate against the server and can not find out how to do so using
solrj.  Is this possible or do I need to drop solrj?  I can manually create
an httpclient and set up authentication but then I can't use solrj.

Thanks.

Gmane