Re: Newbie to Solr
Hi, On trying to create a new schema.xml it shows the schema from the solr console. I have created a new data file called details.xml and placed it in the folder exampledocs. I have indexed just this one file from the command prompt. However,on my solr console in my query string when I query *:* it does not show me the contents from details.xml. It shows me contents of some other data file. Am I missing out on something? TIA . On Tue, Oct 1, 2013 at 3:16 PM, Kishan Parmar kishan@gmail.com wrote: yes you have to create your own schema but in schema file you have to add your xml files field name in it like wise you can add your field name in it or you can add your filed in the default schema file whiithout schema you can not add your xml file to solr my schema is like this -- ?xml version=1.0 encoding=UTF-8 ? schema name=example version=1.5 fields field name=No type=string indexed=true stored=true required=true multiValued=false / field name=Name type=string indexed=true stored=true required=true multiValued=false / field name=Address type=string indexed=true stored=true required=true multiValued=false / field name=Mobile type=string indexed=true stored=true required=true multiValued=false / /fields uniqueKeyNo/uniqueKey types fieldType name=string class=solr.StrField sortMissingLast=true / fieldType name=int class=solr.TrieIntField precisionStep=0 positionIncrementGap=0 / /types /schema - and my file is like this ,,.,.,.,. - add doc field name=No100120107088/field field name=Namekishan/field field name=Addressghatlodia/field field name=Mobile9510077394/field /doc /add Regards, Kishan Parmar Software Developer +91 95 100 77394 Jay Shree Krishnaa !! On Tue, Oct 1, 2013 at 1:11 AM, mamta mamta.al...@gmail.com wrote: Hi, I want to know that if i have to fire some query through the Solr admin, do i need to create a new schema.xml? Where do i place it incase iahve to create a new one. Incase i can edit the original schema.xml can there be two fields named id in my schema.xml? I desperately need help in running queries on the Solr admin which is configured on a Tomcat server. What all preparation will i need to do? Schema.xml any docs? Any help will be highly appreciated. Thanks, Mamta -- View this message in context: http://lucene.472066.n3.nabble.com/Newbie-to-Solr-tp4092876.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Newbie to Solr
Maybe your Solr instance is somehow using a different collection directory? In Web Admin's dashboard section, it shows the path to where it thinks the instance is. Does it match to what you expected? If it does, try deleting the core directory, restarting Solr and doing indexing again. Maybe you have some old stuff there accidentally. Regards, Alex Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Sun, Oct 27, 2013 at 3:45 PM, Mamta Alshi mamta.al...@gmail.com wrote: Hi, On trying to create a new schema.xml it shows the schema from the solr console. I have created a new data file called details.xml and placed it in the folder exampledocs. I have indexed just this one file from the command prompt. However,on my solr console in my query string when I query *:* it does not show me the contents from details.xml. It shows me contents of some other data file. Am I missing out on something? TIA . On Tue, Oct 1, 2013 at 3:16 PM, Kishan Parmar kishan@gmail.com wrote: yes you have to create your own schema but in schema file you have to add your xml files field name in it like wise you can add your field name in it or you can add your filed in the default schema file whiithout schema you can not add your xml file to solr my schema is like this -- ?xml version=1.0 encoding=UTF-8 ? schema name=example version=1.5 fields field name=No type=string indexed=true stored=true required=true multiValued=false / field name=Name type=string indexed=true stored=true required=true multiValued=false / field name=Address type=string indexed=true stored=true required=true multiValued=false / field name=Mobile type=string indexed=true stored=true required=true multiValued=false / /fields uniqueKeyNo/uniqueKey types fieldType name=string class=solr.StrField sortMissingLast=true / fieldType name=int class=solr.TrieIntField precisionStep=0 positionIncrementGap=0 / /types /schema - and my file is like this ,,.,.,.,. - add doc field name=No100120107088/field field name=Namekishan/field field name=Addressghatlodia/field field name=Mobile9510077394/field /doc /add Regards, Kishan Parmar Software Developer +91 95 100 77394 Jay Shree Krishnaa !! On Tue, Oct 1, 2013 at 1:11 AM, mamta mamta.al...@gmail.com wrote: Hi, I want to know that if i have to fire some query through the Solr admin, do i need to create a new schema.xml? Where do i place it incase iahve to create a new one. Incase i can edit the original schema.xml can there be two fields named id in my schema.xml? I desperately need help in running queries on the Solr admin which is configured on a Tomcat server. What all preparation will i need to do? Schema.xml any docs? Any help will be highly appreciated. Thanks, Mamta -- View this message in context: http://lucene.472066.n3.nabble.com/Newbie-to-Solr-tp4092876.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Newbie to Solr
Hi Alex, That is what I am suspecting too. Trying to remove the other files from the exampledocs directory is not helping. After removing all files except the details.xml also the results still show me data from the other files but not my file. I am making changes to the same path which is displayed in Web Admin's dashboard. My last option will be to delete solr ,install it again and try. Thanks for your prompt response. On Sun, Oct 27, 2013 at 1:04 PM, Alexandre Rafalovitch arafa...@gmail.comwrote: Maybe your Solr instance is somehow using a different collection directory? In Web Admin's dashboard section, it shows the path to where it thinks the instance is. Does it match to what you expected? If it does, try deleting the core directory, restarting Solr and doing indexing again. Maybe you have some old stuff there accidentally. Regards, Alex Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Sun, Oct 27, 2013 at 3:45 PM, Mamta Alshi mamta.al...@gmail.com wrote: Hi, On trying to create a new schema.xml it shows the schema from the solr console. I have created a new data file called details.xml and placed it in the folder exampledocs. I have indexed just this one file from the command prompt. However,on my solr console in my query string when I query *:* it does not show me the contents from details.xml. It shows me contents of some other data file. Am I missing out on something? TIA . On Tue, Oct 1, 2013 at 3:16 PM, Kishan Parmar kishan@gmail.com wrote: yes you have to create your own schema but in schema file you have to add your xml files field name in it like wise you can add your field name in it or you can add your filed in the default schema file whiithout schema you can not add your xml file to solr my schema is like this -- ?xml version=1.0 encoding=UTF-8 ? schema name=example version=1.5 fields field name=No type=string indexed=true stored=true required=true multiValued=false / field name=Name type=string indexed=true stored=true required=true multiValued=false / field name=Address type=string indexed=true stored=true required=true multiValued=false / field name=Mobile type=string indexed=true stored=true required=true multiValued=false / /fields uniqueKeyNo/uniqueKey types fieldType name=string class=solr.StrField sortMissingLast=true / fieldType name=int class=solr.TrieIntField precisionStep=0 positionIncrementGap=0 / /types /schema - and my file is like this ,,.,.,.,. - add doc field name=No100120107088/field field name=Namekishan/field field name=Addressghatlodia/field field name=Mobile9510077394/field /doc /add Regards, Kishan Parmar Software Developer +91 95 100 77394 Jay Shree Krishnaa !! On Tue, Oct 1, 2013 at 1:11 AM, mamta mamta.al...@gmail.com wrote: Hi, I want to know that if i have to fire some query through the Solr admin, do i need to create a new schema.xml? Where do i place it incase iahve to create a new one. Incase i can edit the original schema.xml can there be two fields named id in my schema.xml? I desperately need help in running queries on the Solr admin which is configured on a Tomcat server. What all preparation will i need to do? Schema.xml any docs? Any help will be highly appreciated. Thanks, Mamta -- View this message in context: http://lucene.472066.n3.nabble.com/Newbie-to-Solr-tp4092876.html Sent from the Solr - User mailing list archive at Nabble.com.
Stop solr service
Hi Team, Pla stop the solr service. -- Regards, Veena Rani P N Banglore. 9538440458
Re: Stop solr service
Hello! Could you please write more about what you want to do? Do you need to stop running Solr process. If yes what you need to do is stop the container (Jetty/Tomcat) that Solr runs in. You can also kill JVM running Solr, however it will be usually enough to just stop the container. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, Pla stop the solr service.
Re: Stop solr service
I want to stop the mail On Sun, Oct 27, 2013 at 4:37 PM, Rafał Kuć r@solr.pl wrote: Hello! Could you please write more about what you want to do? Do you need to stop running Solr process. If yes what you need to do is stop the container (Jetty/Tomcat) that Solr runs in. You can also kill JVM running Solr, however it will be usually enough to just stop the container. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, Pla stop the solr service. -- Regards, Veena Rani P N Banglore. 9538440458
Re: Need idea to standardize keywords - ring tone vs ringtone
What would automation look like? How would an automated process know what to do in these cases? But I'm somewhat confused. On the one hand you say: bq: type in 'r' I display both ring tone and ringtone in auto suggest list Then mention stopwords so that it doesn't get indexed. How do those relate? You could always use a copyField to move things into a field that you use for special purposes. Best, Erick On Fri, Oct 25, 2013 at 1:14 PM, Developer bbar...@gmail.com wrote: I am currently using a separate core for indexing the autosuggest keywords. Everything works fine except for one issue as below. In index I have 2 entries ring tone ringtone When users type in 'r' I display both ring tone and ringtone in auto suggest list. I am trying to figure out a way to standardize common keywords (known standardized keywords) automatically. Currently I manually add the non standard keywords to the stopwords.txt file so that it doesn't get indexed. Is there a way I can automate this? -- View this message in context: http://lucene.472066.n3.nabble.com/Need-idea-to-standardize-keywords-ring-tone-vs-ringtone-tp4097794.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Stop solr service
Hello! Please look at the Solr user list section of http://lucene.apache.org/solr/discussion.html on how to unsubscribe from the list. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ I want to stop the mail On Sun, Oct 27, 2013 at 4:37 PM, Rafał Kuć r@solr.pl wrote: Hello! Could you please write more about what you want to do? Do you need to stop running Solr process. If yes what you need to do is stop the container (Jetty/Tomcat) that Solr runs in. You can also kill JVM running Solr, however it will be usually enough to just stop the container. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, Pla stop the solr service.
Re: Is there a way to standardize the stored values (like using synonyms for indexed values)?
Well, synonyms can certainly do this, in fact you're specifying the syntax for that substitution. Do note that these are the _indexed_ values, not the stored ones. So you'll still have the raw text returned in the documents. Best, Erick On Fri, Oct 25, 2013 at 7:10 PM, Developer bbar...@gmail.com wrote: I am trying to figure out a way to standardize the stored values using a file similar to synonyms.txt file. For ex: If I have 3 entries as below name: apple banana name: appleBanana name: applebaNana Mapping apple banana, appleBanana, applebaNana= applebanana I want to just have one entry (overwriting the other - I will be using this name as unique id) to be stored in the index. Not sure if its possible to do this currently. Can someone help me out? -- View this message in context: http://lucene.472066.n3.nabble.com/Is-there-a-way-to-standardize-the-stored-values-like-using-synonyms-for-indexed-values-tp4097846.html Sent from the Solr - User mailing list archive at Nabble.com.
How to configure solr to our java project in eclipse
Hi friends,Iam giridhar.please clarify my doubt. we are using solr for our project.the problem the solr is outside of our project( in another folder) we have to manually type java -start.jar to start the solr and use that services. But what we need is,when we run the project,the solr should be automatically start. our project is a java project with tomcat in eclipse. How can i achieve this. Please help me. Thankyou. Giridhar -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-configure-solr-to-our-java-project-in-eclipse-tp4097954.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to configure solr to our java project in eclipse
Hello! If you really want to go embedded way, please look at http://wiki.apache.org/solr/EmbeddedSolr -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi friends,Iam giridhar.please clarify my doubt. we are using solr for our project.the problem the solr is outside of our project( in another folder) we have to manually type java -start.jar to start the solr and use that services. But what we need is,when we run the project,the solr should be automatically start. our project is a java project with tomcat in eclipse. How can i achieve this. Please help me. Thankyou. Giridhar -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-configure-solr-to-our-java-project-in-eclipse-tp4097954.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr - what's the next big thing?
If I get it right, Solr can store its data files on HDFS but it will not use map reduce to process the data (e.g. evaluating queries). I was wondering whether Solr could utilize the Hadoop job distribution mechanism to utlize resources better. On the otherhand, maybe this is not needed with the availability of Solr Cloud. Bill Bell, could you elaborate about complex object indexing? On Sat, Oct 26, 2013 at 10:04 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Hi, On Sat, Oct 26, 2013 at 5:58 AM, Saar Carmi saarca...@gmail.com wrote: LOL, Jack. I can imagine Otis saying that. Funny indeed, but not really. Otis, with these marriage, are we going to see map reduce based queries? Can you please describe what you mean by that? Maybe with an example. Thanks, Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ On Oct 25, 2013 10:03 PM, Jack Krupansky j...@basetechnology.com wrote: But a lot of that big yellow elephant stuff is in 4.x anyway. (Otis: I was afraid that you were going to say that the next big thing in Solr is... Elasticsearch!) -- Jack Krupansky -Original Message- From: Otis Gospodnetic Sent: Friday, October 25, 2013 2:43 PM To: solr-user@lucene.apache.org Subject: Re: Solr - what's the next big thing? Saar, The marriage with the big yellow elephant is a big deal. It changes the scale. Otis Solr ElasticSearch Support http://sematext.com/ On Oct 25, 2013 5:32 AM, Saar Carmi saarca...@gmail.com wrote: If I am not mistaken the most impressive improvement of Solr 4.0 compared to previous versions was the Solr Cloud architecture. What would be the next big thing in Solr 5.0 ? Saar -- Saar Carmi Mobile: 054-7782417 Email: saarca...@gmail.com
Re: Proposal for new feature, cold replicas, brainstorming
Yeah replicate to a DR site would be good too. Bill Bell Sent from mobile On Oct 24, 2013, at 6:27 AM, yriveiro yago.rive...@gmail.com wrote: I'm wondering some time ago if it's possible have replicas of a shard synchronized but in an state that they can't accept queries only updates. This replica in replication mode only awake to accept queries if it's the last alive replica and goes to replication mode when other replica becomes alive and synchronized. The motivation of this is simple, I want have replication but I don't want have n replicas actives with full resources allocated (cache and so on). This is usefull in enviroments where replication is needed but a high query throughput is not fundamental and the resources are limited. I know that right now is not possible, but I think that it's a feature that can be implemented in a easy way creating a new status for shards. The bottom line question is, I'm the only one with this kind of requeriments? Does it make sense one functionality like this? - Best regards -- View this message in context: http://lucene.472066.n3.nabble.com/Proposal-for-new-feature-cold-replicas-brainstorming-tp4097501.html Sent from the Solr - User mailing list archive at Nabble.com.
Solr Update URI is not found
Hi, I just installed Nutch 1.7 and latest Solr 4.5.1 successfully. But I got the error when execute the crawl script (./bin/crawl urls/seed.txt TestCrawl http://localhost:8080/solr/ 2) The error is occured on Solr Indexer step. Following the error on hadoop.log: 2013-10-28 06:16:59,815 WARN mapred.LocalJobRunner - job_local1930559258_0001 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/update?wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:155) at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:118) at org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.close(ReduceTask.java:467) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:535) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:421) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:398) 2013-10-28 06:17:00,243 ERROR indexer.IndexingJob - Indexer: java.io.IOException: Job failed! at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357) at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123) at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:195) I suspect the problem is broken URI (Not Found message) of http://localhost:8080/solr/update?wt=javabinversion=2 That URI was also report not found when I accessed from browser directly. Is there any configuration that I missed? Thanks.- -- wassalam, [bayu]
Re: Solr Update URI is not found
Additional info: - I use Tomcat 7.0.42 - Following are Tomcat/catalina's log when nutch failed on Solr index process. It replies 404 error: 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 Thanks.- On Mon, Oct 28, 2013 at 7:19 AM, Bayu Widyasanyata bwidyasany...@gmail.comwrote: Hi, I just installed Nutch 1.7 and latest Solr 4.5.1 successfully. But I got the error when execute the crawl script (./bin/crawl urls/seed.txt TestCrawl http://localhost:8080/solr/ 2) The error is occured on Solr Indexer step. Following the error on hadoop.log: 2013-10-28 06:16:59,815 WARN mapred.LocalJobRunner - job_local1930559258_0001 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/update?wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:155) at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:118) at org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.close(ReduceTask.java:467) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:535) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:421) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:398) 2013-10-28 06:17:00,243 ERROR indexer.IndexingJob - Indexer: java.io.IOException: Job failed! at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357) at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123) at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:195) I suspect the problem is broken URI (Not Found message) of http://localhost:8080/solr/update?wt=javabinversion=2 That URI was also report not found when I accessed from browser directly. Is there any configuration that I missed? Thanks.- -- wassalam, [bayu] -- wassalam, [bayu]
Background merge errors with Solr 4.4.0 on Optimize call
I am working at implementing solr to work as the search backend for our web system. So far things have been going well, but today I made some schema changes and now things have broken. I updated the schema.xml file and reloaded the core (via the admin interface). No errors were reported in the logs. I then pushed 100 records to be indexed. A call to Commit afterwards seemed fine, however my next call for Optimize caused the following errors: java.io.IOException: background merge hit exception: _2n(4.4):C4263/154 _30(4.4):C134 _32(4.4):C10 _31(4.4):C10 into _37 [maxNumSegments=1] null:java.io.IOException: background merge hit exception: _2n(4.4):C4263/154 _30(4.4):C134 _32(4.4):C10 _31(4.4):C10 into _37 [maxNumSegments=1] Unfortunately, googling for background merge hit exception came up with 2 thing: a corrupt index or not enough free space. The host machine that's hosting solr has 227 out of 229GB free (according to df -h), so that's not it. I then ran CheckIndex on the index, and got the following results: http://apaste.info/gmGU As someone who is new to solr and lucene, as far as I can tell this means my index is fine. So I am coming up at a loss. I'm somewhat sure that I could probably delete my data directory and rebuild it but I am more interested in finding out why is it having issues, what is the best way to fix it, and what is the best way to prevent it from happening when this goes into production. Does anyone have any advice that may help? As an aside, i do not have a stacktrace for you because the solr admin page isn't giving me one. I tried looking in my logs file in my solr directory, but it does not contain any logs. I opened up my ~/tomcat/lib/log4j.properties file and saw http://apaste.info/0rTL, which didnt really help me find log files. Doing a 'find . | grep solr.log' didn't really help either. Any help for finding log files (which may help find the actual cause of this) would also be appreciated.
Re: Solr Update URI is not found
Can you do queries? Maybe the default collection was somehow not setup and you need to provide collection name explicitly. What endpoints does admin interface use when you do a query? Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Mon, Oct 28, 2013 at 8:54 AM, Bayu Widyasanyata bwidyasany...@gmail.comwrote: Additional info: - I use Tomcat 7.0.42 - Following are Tomcat/catalina's log when nutch failed on Solr index process. It replies 404 error: 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 Thanks.- On Mon, Oct 28, 2013 at 7:19 AM, Bayu Widyasanyata bwidyasany...@gmail.comwrote: Hi, I just installed Nutch 1.7 and latest Solr 4.5.1 successfully. But I got the error when execute the crawl script (./bin/crawl urls/seed.txt TestCrawl http://localhost:8080/solr/ 2) The error is occured on Solr Indexer step. Following the error on hadoop.log: 2013-10-28 06:16:59,815 WARN mapred.LocalJobRunner - job_local1930559258_0001 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/update?wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:155) at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:118) at org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.close(ReduceTask.java:467) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:535) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:421) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:398) 2013-10-28 06:17:00,243 ERROR indexer.IndexingJob - Indexer: java.io.IOException: Job failed! at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357) at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123) at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:195) I suspect the problem is broken URI (Not Found message) of http://localhost:8080/solr/update?wt=javabinversion=2 That URI was also report not found when I accessed from browser directly. Is there any configuration that I missed? Thanks.- -- wassalam, [bayu] -- wassalam, [bayu]
Re: How to configure solr to our java project in eclipse
How so you start your another project ? If it is maven or ant then you can use anturn plugin to start solr . Otherwise you can write a small shell script to start solr .. On 27-Oct-2013 9:15 PM, giridhar girimc...@gmail.com wrote: Hi friends,Iam giridhar.please clarify my doubt. we are using solr for our project.the problem the solr is outside of our project( in another folder) we have to manually type java -start.jar to start the solr and use that services. But what we need is,when we run the project,the solr should be automatically start. our project is a java project with tomcat in eclipse. How can i achieve this. Please help me. Thankyou. Giridhar -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-configure-solr-to-our-java-project-in-eclipse-tp4097954.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr For
Depends One core one schema file ... One solrconfig.xml . So if you want only one core then put all required fields of both search in one schema file and carry out your searches Otherwise make two cores having two schema file and perform searches accordingly ... On 27-Oct-2013 7:22 AM, Baskar Sikkayan baskar@gmail.com wrote: Hi, Looking for solr config for Job Site. In a job site there are 2 main searches. 1) Employee can search for job ( based on skill set, job location, title, salary ) 2) Employer can search for employees ( based on skill set, exp, location, ) Should i have a separate config xml for both searches? Thanks, Baskar
Re: Solr search in case the first keyword are not index
HI Hoss, I try to change the default field search to text. But now it still search only the first word. You can give me more suggest. Thanks. - Phat T. Dong -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-search-in-case-the-first-keyword-are-not-index-tp4097699p4098004.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Stop solr service
Lol ... Unsubscribe from this mailing list . On 27-Oct-2013 5:02 PM, veena rani veenara...@gmail.com wrote: I want to stop the mail On Sun, Oct 27, 2013 at 4:37 PM, Rafał Kuć r@solr.pl wrote: Hello! Could you please write more about what you want to do? Do you need to stop running Solr process. If yes what you need to do is stop the container (Jetty/Tomcat) that Solr runs in. You can also kill JVM running Solr, however it will be usually enough to just stop the container. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, Pla stop the solr service. -- Regards, Veena Rani P N Banglore. 9538440458
Re: Solr Result Tagging
Hi, Try using facet.query on each part, you will get the number of total hits for every OR. If you need this info per document, the answers might appear when specifying debug query=true.. If that info is useful, try adding [explain] to fl param (probably requires registering the augmenter plugin in solrconfig) - Isaac. On Friday, October 25, 2013, Cool Techi wrote: Hi, My search queries to solr are of the following nature, (A OR B OR C) OR (X AND Y AND Z) OR ((ABC AND DEF) - XYZ) What I am trying to achieve is when I fire the query the results returned should be able to tagged with which part or the OR resulted in the result. In case all three parts above are applicable then the result should indicate the same. I tried group.query feature, but doesn't seem like it works on solr cloud. Thanks,Ayush
Re: How to configure solr to our java project in eclipse
Try this: http://hokiesuns.blogspot.com/2010/01/setting-up-apache-solr-in-eclipse.html I use this today and it still works. If anything is outdated (as it's a relatively old post) let me know. I wrote this so ping me if you have any questions. Thanks Amit On Sun, Oct 27, 2013 at 7:33 PM, Amit Aggarwal amit.aggarwa...@gmail.comwrote: How so you start your another project ? If it is maven or ant then you can use anturn plugin to start solr . Otherwise you can write a small shell script to start solr .. On 27-Oct-2013 9:15 PM, giridhar girimc...@gmail.com wrote: Hi friends,Iam giridhar.please clarify my doubt. we are using solr for our project.the problem the solr is outside of our project( in another folder) we have to manually type java -start.jar to start the solr and use that services. But what we need is,when we run the project,the solr should be automatically start. our project is a java project with tomcat in eclipse. How can i achieve this. Please help me. Thankyou. Giridhar -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-configure-solr-to-our-java-project-in-eclipse-tp4097954.html Sent from the Solr - User mailing list archive at Nabble.com.
When is/should qf different from pf?
Hi all, I have been using Solr for years but never really stopped to wonder: When using the dismax/edismax handler, when do you have the qf different from the pf? I have always set them to be the same (maybe different weights) but I was wondering if there is a situation where you would have a field in the qf not in the pf or vice versa. My understanding from the docs is that qf is a term-wise hard filter while pf is a phrase-wise boost of documents who made it past the qf filter. Thanks! Amit
Re: Solr Update URI is not found
Hi Alex, I can do a common queries. Below are the json result for *:* query: { responseHeader: { status: 0, QTime: 0, params: { indent: true, q: *:*, _: 1382938341864, wt: json } }, response: { numFound: 0, start: 0, docs: [] } } On Mon, Oct 28, 2013 at 9:11 AM, Alexandre Rafalovitch arafa...@gmail.comwrote: Can you do queries? Maybe the default collection was somehow not setup and you need to provide collection name explicitly. What endpoints does admin interface use when you do a query? Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Mon, Oct 28, 2013 at 8:54 AM, Bayu Widyasanyata bwidyasany...@gmail.comwrote: Additional info: - I use Tomcat 7.0.42 - Following are Tomcat/catalina's log when nutch failed on Solr index process. It replies 404 error: 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] POST /solr/update?wt=javabinversion=2 HTTP/1.1 404 973 Thanks.- On Mon, Oct 28, 2013 at 7:19 AM, Bayu Widyasanyata bwidyasany...@gmail.comwrote: Hi, I just installed Nutch 1.7 and latest Solr 4.5.1 successfully. But I got the error when execute the crawl script (./bin/crawl urls/seed.txt TestCrawl http://localhost:8080/solr/ 2) The error is occured on Solr Indexer step. Following the error on hadoop.log: 2013-10-28 06:16:59,815 WARN mapred.LocalJobRunner - job_local1930559258_0001 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/update?wt=javabinversion=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) at org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:155) at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:118) at org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.java:44) at org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.close(ReduceTask.java:467) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:535) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:421) at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:398) 2013-10-28 06:17:00,243 ERROR indexer.IndexingJob - Indexer: java.io.IOException: Job failed! at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357) at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:123) at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:185) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:195) I suspect the problem is broken URI (Not Found message) of http://localhost:8080/solr/update?wt=javabinversion=2 That URI was also report not found when I accessed from browser directly. Is there any configuration that I missed? Thanks.- -- wassalam, [bayu] -- wassalam, [bayu] -- wassalam, [bayu]