Re: solr query result not read the latest xml file

2010-08-11 Thread Jan Høydahl / Cominvent
Hi, Yes, this is normal behavior. This is because Solr is *document* based, it does not know about *files*. What happens here is that your source database (or whatever) has had deletinons within this category in addition to updates, and you need to relay those to Solr. The best way to integrat

Re: solr query result not read the latest xml file

2010-08-10 Thread e8en
thanks for you response Jan, I just knew that the post.jar only an example tool so what should I use if not post.jar for production? btw, I already tried using this command: java -Durl=http://localhost:8983/search/update -jar post.jar cat_817.xml and IT WORKS !! the cat_817.xml reflected directl

Re: solr query result not read the latest xml file

2010-08-10 Thread Jan Høydahl / Cominvent
Hi, Beware that post.jar is just an example tool to play with the default example index located at /solr/ namespace. It is very limited and you shold look elsewhere for a more production ready and robust tool. However, it has the ability to specify custom url. Please try: java -jar post.jar -h

Re: solr query result not read the latest xml file

2010-08-10 Thread e8en
finally I found out the cause of my problem yes you don't need to delete the index and restart the tomcat just to get the data query result updated, you just need to commit the xml files. I made a custom url as per requirement from my client default url -- > http://localhost/solr/select/?q=ITEM_C

Re: solr query result not read the latest xml file

2010-08-10 Thread Ahmet Arslan
> yes I try with both value, never304="true" and > never304="false" and none of > them make it works It must be , so lets forget about never304="false". But when you change something in solrconfig.xml you need to restart jetty/tomcat. java -jar post.jar *.xml does by default at the end. > w

Re: solr query result not read the latest xml file

2010-08-10 Thread e8en
yes I try with both value, never304="true" and never304="false" and none of them make it works what is curl and wget? I use mozilla firefox browser I'm really newbie in programming world especially solr -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-result-not-rea

Re: solr query result not read the latest xml file

2010-08-10 Thread Ahmet Arslan
> I already set in my solrconfig.xml as you told me: > > > and then I commit the xml > and it's still not working > the query result still show the old data :( > > do you have any suggestion? Shouldn't it be never304="true"? You wrote never304="false" Additionally cant you try with something

Re: solr query result not read the latest xml file

2010-08-10 Thread e8en
I already set in my solrconfig.xml as you told me: and then I commit the xml and it's still not working the query result still show the old data :( do you have any suggestion? Eben -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-result-not-read-the-latest-xml-f

Re: solr query result not read the latest xml file

2010-08-09 Thread Ahmet Arslan
> hi everyone, > > I do these steps every time the new xml file created (for > example > cat_978.xml has just been created): > 1. delete the index > (AUC_CAT:978) > 2. commit the new cat_978.xml (java -jar post.jar > cat_978.xml) > 3. restart the java (stop and java -jar start.jar) > > if I'm not