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 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: AW: solr query result not read the latest xml file

2010-08-10 Thread e8en
hi Bastian, how to send a ? is it by typing : java -jar post.jar cat_978.xml? if yes then I've already done that any solution please? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-query-result-not-read-the-latest-xml-file-tp1066785p1068782.html Sent from the Solr - Us

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 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

solr query result not read the latest xml file

2010-08-09 Thread e8en
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 done those steps then

Re: how to query a string using solr URL in the browser

2010-08-09 Thread e8en
I forgot something, when I enter this: http://172.11.18.120:9000/search/select/?q=text:bracket&q.op=AND&start=0&rows=1000 the result will show all ITEM_ID that contain 'bracket' word in both or one of ITEM_DESCR_SHORT or ITEM_TITLE -- View this message in context: http://lucene.472066.n3.nabb

Re: how to query a string using solr URL in the browser

2010-08-09 Thread e8en
Hi Otis, your answer gave me some lights :) the input must be: http://172.11.18.120:9000/search/select/?q=text:bracket&q.op=AND&start=0&rows=1000 how to change 'AUC_DESCR_SHORT:bracket' and 'AUC_TITLE:bracket' into 'text:bracket' ? is there any solution? thanks, Eben -- View this message in co

Re: how to query a string using solr URL in the browser

2010-08-09 Thread e8en
someone please help me, I'm running out of time :( -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-query-a-string-using-solr-URL-in-the-browser-tp1052434p1054327.html Sent from the Solr - User mailing list archive at Nabble.com.

how to query a string using solr URL in the browser

2010-08-09 Thread e8en
hi everyone, this is my solr query link and the result that showed in my browser where ITEM_CAT = 1191 http://172.11.18.120:9000/search/select/?q=ITEM_CAT:1191&q.op=AND&start=0&rows=1000 1 1.0 27017 Bracket Ceiling untuk semua merk projector, panjang 60-90 cm Bahan Besi Cat Hitam = 325rb Bahan

how to commit certain xml files using PHP commit()

2010-08-08 Thread e8en
I'm solr newbie, I use my PHP script to delete index and commit certain xml file in solr this is what I do: $solr->deleteByQuery('ITEM_CAT:576'); $solr->commit(); the question is, how to commit certain xml file, for example to do this: java -jar post.jar cat_576.xml please help me thanks before