solr5 not woring in axis2

2015-07-06 Thread Saravanakumar Ramasamy
Hi Before upgrade version === Tomcat : 6 Jdk 1.6 Solr3.1 Axis2 1.6.2 We are using like Server == import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer; CommonsHttpSolrServer solrServer = new CommonsHttpSolrServer(sol

Re: Suggester configuration queries.

2015-07-06 Thread ssharma7...@gmail.com
Any Suggestions on this ? Regards, Sachin Vyas. -- View this message in context: http://lucene.472066.n3.nabble.com/Suggester-configuration-queries-tp4214950p4216045.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Display pattern of child entity records as row

2015-07-06 Thread Mikhail Khludnev
Hello, We just published a few advices regarding indexing data for Solr (and whatever). http://blog.griddynamics.com/2015/07/how-to-import-structured-data-into-solr.html. Indexing blocks by DIH is possible with specifying child=”true”

Re: Migrating from Solr 5.1 to Solr 5.2.1

2015-07-06 Thread William Bell
We should update the reference guide with this info... :) On Mon, Jul 6, 2015 at 10:02 PM, Adrian Liew wrote: > Hi Edwin, > > Yes seems to work for me with this command if we use -s instead: > > -solr.cmd start -p 8983 -s "C:\solrsc8_521_in\example\cloud\node1\solr" > -z "localhost:2181,localhos

RE: Migrating from Solr 5.1 to Solr 5.2.1

2015-07-06 Thread Adrian Liew
Hi Edwin, Yes seems to work for me with this command if we use -s instead: -solr.cmd start -p 8983 -s "C:\solrsc8_521_in\example\cloud\node1\solr" -z "localhost:2181,localhost:2182,localhost:2183" -noprompt I noticed you did not put a start in your command? Note the below command won't work w

Re: Migrating from Solr 5.1 to Solr 5.2.1

2015-07-06 Thread Zheng Lin Edwin Yeo
I tried to put the 3 ZooKeeper ports together with the double-quotes and it works. - bin\solr.cmd -p 8983 -s example\node1\solr -z "localhost:2181,localhost:2182,localhost:2183" Regards, Edwin On 7 July 2015 at 10:59, Zheng Lin Edwin Yeo wrote: > Thank you Timothy. > > I've managed to start So

Re: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread Zheng Lin Edwin Yeo
Hi Adrian, I tried with the double-quotes and it works. - bin\solr.cmd -p 8983 -s example\node1\solr -z "localhost:2181,localhost:2182,localhost:2183" Regards, Edwin On 7 July 2015 at 00:12, Timothy Potter wrote: > can you try with double-quotes around the zk connect string? > > bin\solr.cmd

Re: LFU vs solr.FastLRUCache

2015-07-06 Thread William Bell
We should get that done!! :) On Mon, Jul 6, 2015 at 7:09 AM, Shawn Heisey wrote: > On 7/5/2015 10:11 PM, William Bell wrote: > > Has anyone used solr.LFUCache in Production to replace: > > > > > > > size="4096" > > > > initialSize="4096" cleanupThread="true" > > autowarmCount

Re: Problems with loading core when starting Solr 5.2.1

2015-07-06 Thread Zheng Lin Edwin Yeo
Thanks Erick for the info. So mine should be running on external ZooKeeper, since I'm using "- bin\solr.cmd -e cloud -z localhost:2181" and not -DzkRun, and Solr is able to read the updated the configuration after I update it in the external ZooKeeper. Regards, Edwin On 7 July 2015 at 11:17, E

Re: Problems with loading core when starting Solr 5.2.1

2015-07-06 Thread Erick Erickson
A Zookeeper quorum is not necessary for searching. Well, that's stating it a little too strongly. A Solr cluster will do its best to search given the last state of the cluster each Solr node got from Zookeeper. You will not be able to index without a quorum though. bq: How do I check if my Solr i

Re: Problems with loading core when starting Solr 5.2.1

2015-07-06 Thread Zheng Lin Edwin Yeo
How do I check if my Solr is running based on the external ZooKeeper or the embedded ZooKeeper in Solr 5.2.1? Currently I can still do a search even though I've shut down 2 out of 3 ZooKeeper. Only the Cloud tab is down, but the rest of the search are still working. Regards, Edwin On 6 July 20

Re: Migrating from Solr 5.1 to Solr 5.2.1

2015-07-06 Thread Zheng Lin Edwin Yeo
Thank you Timothy. I've managed to start Solr 5.2.1 by using bin\solr.cmd. However, I could not get it to start it together with 3 instances of external ZooKeeper with this command - bin\solr.cmd -e cloud -z localhost:2181,localhost:2182,localhost:2183 I'll get the error *"Invalid command-line o

Re: Tokenizer and Filter Factory to index Chinese characters

2015-07-06 Thread Zheng Lin Edwin Yeo
So we have to recompile the analysers ourselves before we can use it in 5.x? Regards, Edwin On 6 July 2015 at 18:44, Markus Jelsma wrote: > Yes, analyzers slightly changed since 5.x. > https://issues.apache.org/jira/browse/LUCENE-5388 > > -Original message- > > From:Zheng Lin Edwin Yeo

Re: Solr Cloud Cluster Info and Clean

2015-07-06 Thread Shawn Heisey
On 7/6/2015 6:10 AM, Adrian Liew wrote: > Does anyone know where information about SolrCloud cluster is stored? > I.E the below info? The mailing list eats attachments. I cannot see the picture you have embedded. > Is this stored in somewhere in ZooKeeper? In my case I am using an > external Zoo

Remove operation of partial update doesn't work

2015-07-06 Thread Mohsen Saboorian
I can partially 'add' fields to my Solr index, but 'remove' operation seems not working. I'm on Solr 4.10. Here is my SolrJ snippet: SolrInputDocument doc = new SolrInputDocument(); Map partialUpdate = new HashMap<>(); partialUpdate.put(operation, value); // val

Re: upgrading to MMapDirectory

2015-07-06 Thread Shawn Heisey
On 7/6/2015 2:06 PM, Vincenzo D'Amore wrote: > just a simple question, if I change from > solr.NRTCachingDirectoryFactory to solr.MMapDirectoryFactory should I > reindex the entire collection? > > I have tried in a test environment and the change seems to be applied > seamless. No, reindexing is n

Re: Karma for editing wiki

2015-07-06 Thread Konstantin Gribov
Thanks, Shawn. -- Best regards, Konstantin Gribov пн, 6 июля 2015 г. в 20:40, Shawn Heisey : > On 7/6/2015 11:19 AM, Konstantin Gribov wrote: > > Can someone grant me karma for editing solr wiki? My username there is > > KonstantinGribov. > > Done. The wiki is taking the usual long interval up

upgrading to MMapDirectory

2015-07-06 Thread Vincenzo D'Amore
Hi All, just a simple question, if I change from solr.NRTCachingDirectoryFactory to solr.MMapDirectoryFactory should I reindex the entire collection? I have tried in a test environment and the change seems to be applied seamless. Best regards, Vincenzo

Search result depends on a wrong letter

2015-07-06 Thread Khrystyna Popadyuk
Hello, I have confronted with strange behavior of the Solr search and I have no idea how to fix it. Version: * solr-spec 4.3.0 * solr-impl 4.3.0 1477023 - simonw - 2013-04-29 15:10:12 * lucene-spec 4.3.0 * lucene-impl 4.3.0 1477023 - simonw - 2013-04-29 14:55:14 There is field i

Re: Display pattern of child entity records as row

2015-07-06 Thread SHANKAR REDDY
Upayavira, Thanks for the update. I am using Data Import handler for MySQL as below. id

Re: Category Hierarchy on Dynamic Fields - Solr 4.10

2015-07-06 Thread Mike L.
Hey Erick, Thanks for the response. I haven't used PathHierarchyTokenizerFactory before... Seems with this approach, I'd flatten all the categories pertaining to a product into one Solr field... I guess using the facet.prefix I wont lose the granularity I need to facet on individual categories a

Re: Solr 5.2.1 - SolrCloud create collection, core is only loaded after restart

2015-07-06 Thread Erick Erickson
bq: However, the named core is created but not loaded in solr. I'm not quite sure what that means, what is the symptom you see? Because this should be fine. I've sometimes been fooled by looking at the core admin UI screen and not reloading it. What happens if you try querying your new collection

Re: Solr Cloud Cluster Info and Clean

2015-07-06 Thread Erick Erickson
Easiest way to completely start over is to stop your zookeepers, then (mac OS X) on all your ZK nodes. 'rm -rf /tmp/zookeeper' Best, Erick On Mon, Jul 6, 2015 at 5:10 AM, Adrian Liew wrote: > Hi > > Does anyone know where information about SolrCloud cluster is stored? I.E > the below info? >

Re: Category Hierarchy on Dynamic Fields - Solr 4.10

2015-07-06 Thread Erick Erickson
Hmmm, probably missing something here, but have you looked at PathHierarchyTokenizerFactory? In essence, it indexes each sub-path as a token, which makes lots of faceting tasks easier. I.e. lev1/lev2/lev3 gets tokenized as three tokens lev1/lev2/lev3 lev1/lev2 lev1 If that works, I'm not quite su

Re: Karma for editing wiki

2015-07-06 Thread Shawn Heisey
On 7/6/2015 11:19 AM, Konstantin Gribov wrote: > Can someone grant me karma for editing solr wiki? My username there is > KonstantinGribov. Done. The wiki is taking the usual long interval updating the group page, but it should be active very soon. Thanks, Shawn

Category Hierarchy on Dynamic Fields - Solr 4.10

2015-07-06 Thread Mike L.
Solr User Group -     Was wondering if anybody had any suggestions/best practices around a requirement for storing a dynamic category structure that needs to have the ability to facet on and maintain its hierarchy Some context: A product could belong to an undetermined amount of product categor

Re: Setup Solr Multiserver Environment

2015-07-06 Thread Erick Erickson
How are you starting this? WARNING: I haven't worked on a windows box for some time so beware my advice ;). You shouldn't have to edit these at all if you're using the start scripts (now preferred). -h host -p port -s dir All this does is set an env variable that gets substituted in for things l

Karma for editing wiki

2015-07-06 Thread Konstantin Gribov
Hi, folks. Can someone grant me karma for editing solr wiki? My username there is KonstantinGribov.

Re: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread Timothy Potter
can you try with double-quotes around the zk connect string? bin\solr.cmd -e cloud -z "localhost:2181,localhost:2182,localhost:2183" On Mon, Jul 6, 2015 at 2:59 AM, Adrian Liew wrote: > Hi David, > > When I run the command below on a Windows machine using Powershell window: > > .\solr.cmd -e clo

Re: Migrating from Solr 5.1 to Solr 5.2.1

2015-07-06 Thread Timothy Potter
Hi Edwin, You'll need to use the bin\solr.cmd to start Solr as it now requires some additional system properties to be set. Put simply, starting solr using java -jar start.jar is not supported. Please try bin\solr.cmd and let us know if you run into any issues. You can set any additional system pr

Solr - NetCDF subsetting

2015-07-06 Thread Stallard, Adam
Hi, I am a student working on a project involving a web based data match up service. I am trying to configure Solr to work with NetCDF data file indexing so that our server can provide quick access to data under specific constraints. My confusion is that the documentation seems to cover relatio

Solr 5.2.1 - SolrCloud create collection, core is only loaded after restart

2015-07-06 Thread Jens Brandt
Hi, I am trying to setup SolrCloud with external zookeeper. Solr 5.2.1 is running on host solrtest at port 8080 and zookeeper already contains a config with the name customerSolr. When I create a new collection using the CollectionAPI by calling the following url: http://solrtest:8080/solr/adm

Re: Solr UIMA Part Of Speech Tagging

2015-07-06 Thread Alessandro Benedetti
It is a little bit off topic, but why don't use the payload for a token , if you want to give a different weight to each token ? https://lucidworks.com/blog/end-to-end-payload-example-in-solr/ Cheers 2015-07-06 16:31 GMT+01:00 Erik Hatcher : > I’ve recently been tinkering with UIMATypeAwareAnno

Re: Solr UIMA Part Of Speech Tagging

2015-07-06 Thread Erik Hatcher
I’ve recently been tinkering with UIMATypeAwareAnnotationsTokenizerFactory myself. First, I don’t believe there is a straightforward config way to tokenize as word/posTag. One could use an update script that did analysis pre-indexing and glued the token value and the token type together like

Solr UIMA Part Of Speech Tagging

2015-07-06 Thread techqnq
Hi, I am working on part of speech tagging in solr using UIMA. I have integrated Solr and UIMA. I have indexed a document, below is the output: / 1 Human nature is not one thing Human nature is not one thing jj nn

splitshard on live node: performance impact

2015-07-06 Thread Matteo Grolla
Hi, what is the performance impact of issuing a splitshard on a live node used for searches?

Re: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread Shawn Heisey
On 7/6/2015 2:59 AM, Adrian Liew wrote: > When I run the command below on a Windows machine using Powershell window: > > .\solr.cmd -e cloud -z localhost:2181,localhost:2182,localhost:2183 > > I get the following error: > > Invalid command-line option: localhost:2182 > > Somehow it does not rec

Re: LFU vs solr.FastLRUCache

2015-07-06 Thread Shawn Heisey
On 7/5/2015 10:11 PM, William Bell wrote: > Has anyone used solr.LFUCache in Production to replace: > > > size="4096" > > initialSize="4096" cleanupThread="true" > autowarmCount="32"/> > > Thoughts? I wrote the LFUCache. It's the most basic and naive implementation possibl

Re: Problems with loading core when starting Solr 5.2.1

2015-07-06 Thread Shawn Heisey
On 7/5/2015 10:17 PM, Zheng Lin Edwin Yeo wrote: > I've just migrated to Solr 5.2.1 with external ZooKeeper 3.4.6. > > Whenever I tried to start Solr using these command, the Solr servers gets > started, but none of the cores is actually loaded. > - bin\solr.cmd start -cloud -z localhost:2181 > -

Re: Bug: replies mixed up with concurrent requests from the same host

2015-07-06 Thread Kevin Perros
Hi, I have good news (for me :), I have resolved my bug. As always it was my own fault. I did a few tests sometime ago so as to understand how instances of various objects were instanciated in Lucene/Solr, and made a mistake in understanding how SearchComponent were managed. I believed that

Re: Distributed queries hang in a non-SolrCloud environment, Solr 4.10.4

2015-07-06 Thread Yonik Seeley
Are you running with the stock Jetty-based server or did you configure your own servlet container / config? Any plugins / extensions to Solr? It would be odd for FastLRUCache to be involved - I don't think that code has changed between 4.8.1 and 4.10.4 -Yonik On Thu, Jul 2, 2015 at 3:36 PM, Ro

Re: Distributed queries hang in a non-SolrCloud environment, Solr 4.10.4

2015-07-06 Thread Ronald Wood
Thank you! I will look into that and give it a try. I also am going to look at the cache overall and try to tune it for the faceting we’re doing. Ronald S. Wood | Senior Software Developer 857-991-7681 (mobile) Smarsh 100 Franklin St. Suite 903 | Boston, MA 02210 1-866-SMARSH-1 | 971-998-9967

Solr Cloud Cluster Info and Clean

2015-07-06 Thread Adrian Liew
Hi Does anyone know where information about SolrCloud cluster is stored? I.E the below info? Is this stored in somewhere in ZooKeeper? In my case I am using an external Zookeeper server setup in an Ensemble. [cid:image001.png@01D0B827.CF87E750] Does anyone know how to clear their SolrCloud clu

RE: Tokenizer and Filter Factory to index Chinese characters

2015-07-06 Thread Markus Jelsma
Yes, analyzers slightly changed since 5.x. https://issues.apache.org/jira/browse/LUCENE-5388 -Original message- > From:Zheng Lin Edwin Yeo > Sent: Monday 6th July 2015 12:31 > To: solr-user@lucene.apache.org > Subject: Re: Tokenizer and Filter Factory to index Chinese characters > > Yes

Re: Tokenizer and Filter Factory to index Chinese characters

2015-07-06 Thread Zheng Lin Edwin Yeo
Yes, I tried that also, but I faced some compatibility issues with Solr 5.2.1, as the libs that I found and downloaded seems to be for Solr 3.x versions. I got the following error when I tried to start Solr with Paoding configured: java.lang.VerifyError: class net.paoding.analysis.analyzer.Paodin

Importing and indexing date ranges with Solr 5 DIH from Sql Server

2015-07-06 Thread Federico Colla
I've searched everywhere but still breaking my head on the wall... I'll explain quickly my situation: we have some items with 1:n (multiple) "availabilities" stored as IdObj, PeriodFrom and PeriodTo columns in a Sql Database table. we need to import items in Solr index and to filter them throug

Re: AND for multiple faceted queries

2015-07-06 Thread Alessandro Benedetti
Hi Aki, First of all , not related your question, but be careful with the order of the Token Filters in the Analysis chain. The order is important, and you remove the stop words before you actually normalise the text lowercasing it. This can bring to errors… Then, let's analyse your query : 1) I d

RE: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread Adrian Liew
Hi David, When I run the command below on a Windows machine using Powershell window: .\solr.cmd -e cloud -z localhost:2181,localhost:2182,localhost:2183 I get the following error: Invalid command-line option: localhost:2182 Somehow it does not recognize comma separated between the localhost. A

Re: LFU vs solr.FastLRUCache

2015-07-06 Thread Alessandro Benedetti
What is exactly your question ? I mean, what is the problem you are seeing using FastLRUCache? What is not convincing you in using the LFU ( it that one solves your requirement? ) Cheers 2015-07-06 5:11 GMT+01:00 William Bell : > Has anyone used solr.LFUCache in Production to replace: > > >

Setup Solr Multiserver Environment

2015-07-06 Thread Adrian Liew
Has anyone tried setting up a multiserver environment for Solr on a Windows machine? I was just wondering how you will go about say setting up a single shard with 3 replicas (one of them is the leader) using the solr.cmd or infact java.cmd on three different virtual machines for example. Note,

Re: Tokenizer and Filter Factory to index Chinese characters

2015-07-06 Thread davidphilip cherian
Hi Edwin, Have you tried the Paoding analyzer? It is not out of the box shipped with Solr jars. You may have to download it and add it to solr libs. https://stanbol.apache.org/docs/trunk/components/enhancer/nlp/paoding 2015-07-06 12:29 GMT+05:30 Zheng Lin Edwin Yeo : > I'm now using the solr

Re: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread davidphilip cherian
Hi Adrian, What is the error that you are getting? In order to upload configs files, you could use zkcli.sh script that will be shipped with solr and use the upconfig command. ./server/scripts/cloud-scripts/zkcli.sh -zkhost 127.0.0.1:9983 \ -cmd upconfig -confname my_new_config -confdir serve

Solr 5.2.1 setup zookeeper ensemble problem

2015-07-06 Thread Adrian Liew
There seems to be an issue running the following command using solr.cmd as below: - bin\solr.cmd -e cloud -z localhost:2181,localhost:2182,localhost:2183 Anyone can please advise. Also, Is there a way to upload a configuration file (containing schema.xml and solrconfig.xml) to ZooKeeper easil