Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread Binesh Gummadi
Jeff, It should be in schema.xml at the end of the file. Look for the following. all To copy your fields to the default search field you should have something like this. Once you do that you should be able to search for ZS1. As others suggested you should look at your index using Lu

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread Erick Erickson
Well, all I can say is that a fresh download of 1.4.1 and cutting and pasting your exact fields and putting them into my schema.xml, copying and pasting your exact document into a new document and indexing it (./post.jar eoe.xml) and then running any of the 4 queries you indicated works fine for me

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread Ahmet Arslan
> Yes, it does show results when I search for id:ZS1, > COL:RW, and TI:MAC, > but strangely it does not show results when I try > AD:ZS1 or AN:ZS1. What is the output of q=AD:ZS1&debugQuery=on > Also, I'm not sure where to find the default field, so I'm > fairly certain I didn't

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread codar
Binesh, Great advice. Yes, it does show results when I search for id:ZS1, COL:RW, and TI:MAC, but strangely it does not show results when I try AD:ZS1 or AN:ZS1. Also, I'm not sure where to find the default field, so I'm fairly certain I didn't change it. I'm entering the querytex

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread Binesh Gummadi
What is the default search field? Is it "ALL" or did you change it? If it is "ALL" are you copying your data to ALL? Instead of searching for "*:*" does it show results if you search for "id:ZS1"? Binesh Gummadi On Sun, Jun 27, 2010 at 2:12 PM, codar wrote: > > Thanks for the link to "how t

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread codar
Thanks for the link to "how to post" - not sure how to interpret that. I already posted the fields definition from the schema, the query I'm trying to submit, and the results. I'm not sure what more I can post. I get 0 results, and when I turn debug on it doesn't provide anything meaningful. P

Re: example solr xml working fine but my own xml files not working

2010-06-27 Thread Erick Erickson
tly supported > >> > SimplePostTool: POSTing files to http://localhost:8983/solr/update.. > >> > SimplePostTool: POSTing file tr_single.xml > >> > SimplePostTool: COMMITting Solr index changes.. > >> > > >> > So, it appears to have indexed wit

Re: example solr xml working fine but my own xml files not working

2010-06-26 Thread codar
issue, but yet when I search for >> the >> > ZS1, I get not results. >> > >> > Thanks in advance >> > >> > >> > -- >> > View this message in context: >> > >> http://lucene.472066.n3.nabble.com/example-solr-x

Re: example solr xml working fine but my own xml files not working

2010-06-26 Thread codar
e > > ZS1, I get not results. > > > > Thanks in advance > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/example-solr-xml-working-fine-but-my-own-xml-files-not-working-tp504245p924113.html<http://lucene.472066.n3.nabble.com/example-solr-

Re: example solr xml working fine but my own xml files not working

2010-06-26 Thread Erick Erickson
The first place you should go for this type of question is the solr admin page and look at what's actually in your index. A very handy tool for this is also Luke. Get a copy of it (google Lucene Luke) and point it at your index and poke around to see if what's actually in your index is what you ex

Re: example solr xml working fine but my own xml files not working

2010-06-26 Thread codar
I'm struggling with this very same problem. I can index the example files fine. When I try adding a custom file, it appears to index without issue; but I get no search results via the admin console. I've also tried modifying one of the files (monitor.xml); it also did not update. I'm using solr

Re: example solr xml working fine but my own xml files not working

2010-03-08 Thread Erick Erickson
Have you looked in your SOLR log file to see what that says? Check the editor you use for your XML. is it using UTF-8 (although you don't appear to be using any odd characters, probably not a problem). Think about taking the xml file that *does* work, copying it and editing *that* one. Erick On

Re: example solr xml working fine but my own xml files not working

2010-03-07 Thread venkatesh uruti
Dear Eric, Please find below necessary steps that executed. Iam following same structure as mentioned by you, and checked results in the admin page by clicking search button, samples are working fine. Ex:Added monitor.xml and search for video its displaying results- search content is disp

Re: example solr xml working fine but my own xml files not working

2010-03-05 Thread Suram
venkatesh uruti wrote: > > I am trying to imoport xml file in solr, it is successfully importing, but > it is not showing any results while sarching in solr > > in solr home/example docs/ directory all example xmls are working fine but > when i create a new XML file and trying to upload to so

Re: example solr xml working fine but my own xml files not working

2010-03-05 Thread Erick Erickson
Does your new xml follow the same structure of the example? That is, ? Have you tried looking at the results with the admin page to see what's actually in your index? More data please. What did you do to try to index your new data? What response did SOLR give? etc Erick On Fri, Mar 5,