Re: Unable to find query result in solr 5.0.0
Hi Jack Krupansky, We are following the apache-solr-ref-guide-5.0 doc for installation. But when I am going to execute Post command via $ bin/post -c gettingstarted example/exampledocs/*.json in Command prompt *'post' is not recognized as an internal or external command, operable program or batch file.* This error comes from Command prompt. Now we are unable to proceed as because we can not post any documents in Solr. Can you please help us to overcome this scenario. As we got the information that we need to post documents in order to search any query result so please let us know the process to do so. -- Thanks Regards, Rupak. -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-find-query-result-in-solr-5-0-0-tp4189196p4193434.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Unable to find query result in solr 5.0.0
Hi Erick , Good to see your interest.Actually We are very new to Solr and we are working on a project which was previously made on solr 1.3. When we are going to search any query we are getting all results accordingly. but now if we are going to find any data we are getting nothing. Here I have described the process of installation so that you can gauge the problem. Firstly we have installed the java 1.8. and then downloaded the Solr 5 and Then we have installed it via bin\solr.cmd start command from command prompt. then works perfectly from browser. Then when we are going to execute $ bin/post -c gettingstarted example/exampledocs/*.json in cmd prompt it fires some errors like 'post' is not recognized as an internal or external command, and after that we are unable to find any results. Please guide us to over come this scenarios. So that we can step forward. As we can see that we need to index all the documents in order to get the results. Also if we go with techproducts via $ bin/solr -e techproducts then we get only few results. but the entire performance like previous version. Please suggest us what to do to get the results. -- Regards, Rupak. -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-find-query-result-in-solr-5-0-0-tp4189196p4193436.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Unable to find query result in solr 5.0.0
What data did you have in the 1.3 version? Because the bin/solr -e techproduts process only indexes 30+ docs total. So if your 1.3 installation is returning more docs as your note seems to imply, you somehow have a lot more docs indexed. There is no mention of hotel in any of the sample docs that are indexed by the 'techproducts' target, so I suspect you're comparing apples to oranges. Not to mention that there are many, many changes to both the code and the sample data since 1.3 so whether the results are exactly comparable or not is highly questionable. Best, Erick On Thu, Feb 26, 2015 at 4:30 AM, Jack Krupansky jack.krupan...@gmail.com wrote: Does a query for *:* return all documents? Pick one of those documents and try a query using a field name and the value of that field for one of the documents and see if that document is returned. Maybe you skipped a step in the tutorial process or maybe there was an error that you ignored. Please confirm which doc you were reading for the tutorial steps. -- Jack Krupansky On Thu, Feb 26, 2015 at 6:17 AM, rupak rupak.d2...@gmail.com wrote: Hi, I am new in Solr and using Solr 5.0.0 search server. After installing when I’m going to search any keyword in solr 5.0.0 it dose not give any results back. But when I was using a previous version of Solr (1.3.0)(previously installed) it gives each and every results of the queried Keyword. For Example: In previous version (1.3.0) when I’m searching with any keyword like “Hotel”, “Motel”, “Television” , “i-pod” , “Books”, “cricket” etc in Query String section, it gives all search results with large number of records as a XML output. But in Solr 5.0.0 I start up with techproducts core (bin/solr -e techproducts) and then going to search keywords like “Television” , “i-pod” etc then it gives 2 or 3 results and also if we going to search any others keyword like “Hotel”, “Motel” it dose not return back any results. Also if we start up with cloud by bin/solr start -e cloud -noprompt it dose not gives any results. Also when we are going to use ‘POST’ tools by executing post.jar in command prompt says an error that this is not a valid command. Currently I’m unable to find any keyword. Please help me to query any string keyword from solr 5.0.0. Thanks Regards, Rupak Das -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-find-query-result-in-solr-5-0-0-tp4189196.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Unable to find query result in solr 5.0.0
Does a query for *:* return all documents? Pick one of those documents and try a query using a field name and the value of that field for one of the documents and see if that document is returned. Maybe you skipped a step in the tutorial process or maybe there was an error that you ignored. Please confirm which doc you were reading for the tutorial steps. -- Jack Krupansky On Thu, Feb 26, 2015 at 6:17 AM, rupak rupak.d2...@gmail.com wrote: Hi, I am new in Solr and using Solr 5.0.0 search server. After installing when I’m going to search any keyword in solr 5.0.0 it dose not give any results back. But when I was using a previous version of Solr (1.3.0)(previously installed) it gives each and every results of the queried Keyword. For Example: In previous version (1.3.0) when I’m searching with any keyword like “Hotel”, “Motel”, “Television” , “i-pod” , “Books”, “cricket” etc in Query String section, it gives all search results with large number of records as a XML output. But in Solr 5.0.0 I start up with techproducts core (bin/solr -e techproducts) and then going to search keywords like “Television” , “i-pod” etc then it gives 2 or 3 results and also if we going to search any others keyword like “Hotel”, “Motel” it dose not return back any results. Also if we start up with cloud by bin/solr start -e cloud -noprompt it dose not gives any results. Also when we are going to use ‘POST’ tools by executing post.jar in command prompt says an error that this is not a valid command. Currently I’m unable to find any keyword. Please help me to query any string keyword from solr 5.0.0. Thanks Regards, Rupak Das -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-find-query-result-in-solr-5-0-0-tp4189196.html Sent from the Solr - User mailing list archive at Nabble.com.