lucene + solr: corrupt index

2010-08-23 Thread ANurag
Hi, I am using lucene 3.0 jars and built a lucene index with 200 documents. The index files were then copied over to my solr 1.4.1 installation. I get the following error every time I start SOLR: What could I be doing wrong? SEVERE: Could not start SOLR. Check solr/home property

Re: lucene + solr: corrupt index

2010-08-23 Thread ANurag
Thx Koji, I tried 2.9.3 and it works :-) On Mon, Aug 23, 2010 at 6:15 PM, Koji Sekiguchi k...@r.email.ne.jp wrote:  (10/08/24 10:02), ANurag wrote: Hi, I am using lucene 3.0 jars and built a lucene index with 200 documents. The index files were then copied over to my solr 1.4.1

Java -cp . FileName.java Not Working

2010-09-18 Thread Anurag
the class files http://code.google.com/p/intranetsearchengine/downloads/list here Please Help in executing these programs , i am trying to make a search client which will send the query to solr index and get the result back to the client. Thanks - Kumar Anurag -- View this message

How to make a client in JSP which will take output from Solr Server

2010-09-18 Thread Anurag
or JSON format. Please Suggest some tutorials, or Some Examples i am thankful to u all - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-make-a-client-in-JSP-which-will-take-output-from-Solr-Server-tp1519527p1519527.html Sent from the Solr - User mailing

Spellcheck in solr-nutch integration

2010-11-23 Thread Anurag
integration? please help. - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Spellcheck-in-solr-nutch-integration-tp1953232p1953232.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Spell-Check Component Functionality

2010-11-27 Thread Anurag
.nabble.comml-node%2b472068-1941297125-146...@n3.nabble.com To unsubscribe from Solr - User, click herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=472068code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag ?xml version=1.0

Re: Spellcheck in solr-nutch integration

2010-11-29 Thread Anurag
i solved the problemAll we need to modify schema file. Also the spellcheck index is created first when spellcheck.build=true - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Spellcheck-in-solr-nutch-integration-tp1953232p1988252.html Sent from

Re: How to make a client in JSP which will take output from Solr Server

2010-12-04 Thread Anurag
Ok, I solved it by just opening the connection and then parsing the output from xml to front page. Though It has some security isuue... - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-make-a-client-in-JSP-which-will-take-output-from-Solr-Server

Re: How to update solr index.

2010-12-07 Thread Anurag
Can you clarify ur question? - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-update-solr-index-tp2038480p2038580.html Sent from the Solr - User mailing list archive at Nabble.com.

Autosuggest terms which GOOGLE uses?

2010-12-08 Thread Anurag
How Google selects the autosuggest terms? Is that Google uses Userrs Queries from Log files to suggest only those terms? - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-terms-which-GOOGLE-uses-tp2039078p2039078.html Sent from the Solr - User

Re: Autosuggest terms which GOOGLE uses?

2010-12-08 Thread Anurag
Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Autosuggest-terms-which-GOOGLE-uses-tp2039078p2039307.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Jquery Autocomplete Json formatting ?

2010-12-16 Thread Anurag
. - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Jquery-Autocomplete-Json-formatting-tp2101346p2101593.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Jquery Autocomplete Json formatting ?

2010-12-16 Thread Anurag
. - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Jquery-Autocomplete-Json-formatting-tp2101346p2101595.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [Nutch] and Solr integration

2010-12-20 Thread Anurag
.nabble.com To unsubscribe from Solr - User, click herehttp://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=472068code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag - Kumar Anurag -- View this message in context: http

Re: improving search response time

2010-12-21 Thread Anurag
,title,url,hlhl=truestart=0rows=10indent=on How can i improve the search time. i have 1) Fedora 11 as OS 2) Solr run on Jetty Server 3) Front page (search page) is on Tomcat 6 4)Index size is 9GB 5)RAM is 1GB - Kumar Anurag -- View this message in context: http://lucene.472066.n3

Re: improving search response time

2010-12-21 Thread Anurag
-node+2126869-977261384-146...@n3.nabble.comml-node%2b2126869-977261384-146...@n3.nabble.com wrote: On 12/21/2010 3:02 AM, Anurag wrote: I am using spellchecker in the query part. Now my search time has become more. say initiallly it was 1000ms now its 3000ms.I have data index of size 9GB

Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

2010-12-22 Thread Anurag
=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Dismax-score-maximu-of-any-one-field-tp2119563p2131762.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr index directory '/solr/data/index' doesn't exist. Creating new index... on Geronimo

2010-12-22 Thread Anurag
that the downloaded solr may have something missing. On Wed, Dec 22, 2010 at 9:18 PM, Bac Hoang [via Lucene] ml-node+2131930-846132511-146...@n3.nabble.comml-node%2b2131930-846132511-146...@n3.nabble.com wrote: Hello Anurag, The specific problem I faced when started solr in Geronimo (http

Re: Problem of results ordering

2010-12-23 Thread Anurag
Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-of-results-ordering-tp2139314p2139978.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: MoreLikeThis search component

2011-01-05 Thread Anurag
.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=472068code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/MoreLikeThis-search-component

Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag
on how to proceed to implement this? Thanks - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2261469.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag
Please reply...I need help from you all... - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2262917.html Sent from the Solr - User mailing list archive

Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-01-15 Thread Anurag
/NamlServlet.jtp?macro=unsubscribe_by_codenode=2261469code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyMjYxNDY5fC0yMDk4MzQ0MTk2. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic

Re: How to edit / compile the SOLR source code

2011-01-26 Thread Anurag
Actually i also want to edit Source Files of Solr.Does that mean i will have to go in Src directory of Solr and then rebuild using ant? I need not compile them or Ant will do the whole compiling as well as updating the jar files? i have the following files in Solr-1.3.0 directory /home/anurag

Re: Spellcheck in solr-nutch integration

2011-02-05 Thread Anurag
First go thru the schema.xml file . Look at the different components. On Sat, Feb 5, 2011 at 1:01 PM, 666 [via Lucene] ml-node+2429702-1399813783-146...@n3.nabble.comml-node%2b2429702-1399813783-146...@n3.nabble.com wrote: Hello Anurag, I'm facing the same problem. Will u please elaborate

Studying all files of Solr SRC

2011-02-26 Thread Anurag
contains at least half of terms like t1,t2,t3 or show me all the documents which contains most of the terms like t1,t5,t7 etc...These at least half and most have been given some weight . These advance search is different from normal boolean search. Thanks - Kumar Anurag -- View this message

Re: Problem with Solr and Nutch integration

2011-02-27 Thread Anurag
.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=472068code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-Solr-and-Nutch

Re: Problem with Solr and Nutch integration

2011-02-28 Thread Anurag
=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw0NzIwNjh8LTIwOTgzNDQxOTY=. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-with-Solr-and-Nutch-integration-tp2590334p2594293.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Problem with Solr and Nutch integration

2011-02-28 Thread Anurag
=f.content.hl.fragmenterregex/str /lst /requestHandler But yeah deploying solr.war file in tomcat 6 on my system works. On Tue, Mar 1, 2011 at 1:56 AM, Paul Rogers [via Lucene] ml-node+2598137-98595181-146...@n3.nabble.com wrote: Hi Anurag Thanks for the prompt reply. I'm following the tutorial

Re: Problem with Solr and Nutch integration

2011-03-01 Thread Anurag
i have nutch-1.0 and Apache-solr-1.3.0 (integrated these two). On 3/1/11, Paul Rogers [via Lucene] ml-node+2601915-1461428819-146...@n3.nabble.com wrote: Hi Anurag The request handler has been added the solrconfig file. I'll try your attached requesthandler and see if that helps

Location of Main Class in Solr?

2011-03-03 Thread Anurag
I searched SolrIndexSearcher.java file but there is no main class. I wanted to know as to where this class resides. Can i call this main class (if it exists) using command line options in terminal , rather than through war file? - Kumar Anurag -- View this message in context: http

Re: Location of Main Class in Solr?

2011-03-05 Thread Anurag
Thanks. On Sat, Mar 5, 2011 at 7:58 PM, Koji Sekiguchi [via Lucene] ml-node+2638122-740990375-146...@n3.nabble.com wrote: (11/03/04 3:30), Anurag wrote: I searched SolrIndexSearcher.java file but there is no main class. I wanted to know as to where this class resides. Can i call

Re: Location of Main Class in Solr?

2011-03-05 Thread Anurag
to incompatibility with other files. On Sat, Mar 5, 2011 at 11:00 PM, kumar anurag anurag.it.jo...@gmail.comwrote: Thanks. On Sat, Mar 5, 2011 at 7:58 PM, Koji Sekiguchi [via Lucene] ml-node+2638122-740990375-146...@n3.nabble.com wrote: (11/03/04 3:30), Anurag wrote: I searched SolrIndexSearcher.java

Re: background merge hit exception

2011-03-15 Thread Anurag
Do you mean that earlier it was doing indexing well then all of sudden you started getting this exception? - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/background-merge-hit-exception-tp2680625p2680979.html Sent from the Solr - User mailing list archive

Re: Implementing Fuzzy Search using OWA operator and Fuzzy Linguistic Quantifier

2011-03-18 Thread Anurag
(num2+ +ds2+ +min); }//main }//class - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-tp2261469p2699065.html Sent from the Solr - User mailing list archive at Nabble.com.

Please reply how to embed code to solr

2011-03-18 Thread Anurag
http://lucene.472066.n3.nabble.com/Implementing-Fuzzy-Search-using-OWA-operator-and-Fuzzy-Linguistic-Quantifier-td2261469.html Link - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Please-reply-how-to-embed-code-to-solr-tp2699218p2699218.html Sent from

How to create patch to implement my own advance search mentioned below

2011-03-19 Thread Anurag
+0.0*0.1 = d1 0.32 d2 0.32 d3 0.30 d4 0.38 difficulty 2 - where should i multiply this matrix and add to the solr? Hence final order of documents on the basis of final score is 0.380.32=0.320.30 d4d1=d2d3 Please guide me . - Kumar Anurag -- View this message

debugQuery doesnot work with Solr-1.3.0 , is it true?

2011-03-21 Thread Anurag
use the new version (i checked it worked with 1.4.1) or the solr-1.3.0 can be made to work for solving my purpose. If later, then how it is possible. Please guide Thanks - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/debugQuery-doesnot-work-with-Solr

How can i use Solr based Search Engine for My University?

2011-05-06 Thread Anurag
google to learn if any topics is not inlucded in book. Please give some valuable suggestions. Thanks - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-can-i-use-Solr-based-Search-Engine-for-My-University-tp2907168p2907168.html Sent from the Solr - User

Re: How can i use Solr based Search Engine for My University?

2011-05-06 Thread Anurag
.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2907168code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyOTA3MTY4fC0yMDk4MzQ0MTk2. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-can-i-use-Solr-based-Search-Engine-for-My

Re: How can i use Solr based Search Engine for My University?

2011-05-06 Thread Anurag
wrote: Hello Anurag Google is always there to do internet search. You need to support search for your university. My opinion would be don't crawl the sites. You require only Solr and not Nutch. 1. Provide an interface to upload the documents by the university students. The documents could

search by url in Solr?

2011-05-10 Thread Anurag
Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/search-by-url-in-Solr-tp2924632p2924632.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: search by url in Solr?

2011-05-10 Thread Anurag
.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2924632code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyOTI0NjMyfC0yMDk4MzQ0MTk2. -- Kumar Anurag - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/search-by-url-in-Solr-tp2924632p2926107.html Sent

Solr returns the document conatining the links of the required document as top result?

2011-05-17 Thread Anurag
this is happening? Please suggest some clue.. Thanks - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-returns-the-document-conatining-the-links-of-the-required-document-as-top-result-tp2954340p2954340.html Sent from the Solr - User mailing list archive

How Whatsapp applies search techniques for conversation?

2013-12-02 Thread Anurag
I was just wondering how Whatsapp uses to implement search in the conversations history. Is it the same thing used for all kinds of android app supporting search on chat/conversations? Has anyone implemented on similar lines? Thanks Kumar Anurag - Kumar Anurag -- View this message

Solr Composite Unique key from existing fields in schema

2014-02-07 Thread Anurag Verma
Hi, I am developing a search application using SOLR. I don't have primary key in any table. Composite key is being used in my application. How do i implement composite key as unique key in this case. please help. i am struggling. -- Thanks Regards Anurag Verma Arise! Awake! And stop

Solr-Distributed search

2014-06-05 Thread Anurag Verma
Hi, Can you please help me solr distribued search in multicore? i would be very happy as i am stuck here. In java code how do i implement distributed search? -- Thanks Regards Anurag Verma

running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
Dear Solr users, I am new to Solr dev community and trying to setup eclipse to debug a running solr server. Please suggest if anyone of you have tried doing the same. Once above is done. Also suggest the entry point in code where breakpoint can be placed. Thanks Anurag

Re: running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
to go through both the #1 #2 approaches. Regards, Anurag On Fri, Sep 19, 2014 at 8:38 AM, Erick Erickson erickerick...@gmail.com wrote: There are two approaches that work: 1 (preferred IMO) is to debug through the Junit test cases. It's far easier than remote debugging usually, with quicker

Re: running solr in debug through eclipse

2014-09-19 Thread Anurag Sharma
Thanks Bernd for your insight. As of now, I am focussing to fix the issue in the updater but not able to localize which code to look in for it. Regards, Anurag On Fri, Sep 19, 2014 at 12:09 PM, Bernd Fehling bernd.fehl...@uni-bielefeld.de wrote: It depends on what you are going to do

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
. Please suggest if someone faced this issue. I tried restarting windows, ensured no process running on 7666 port. In previous trials to start, I used to get msg Debugger failed to attach: handshake failed - received GET /solr/ HTT - expect but it stopped coming now. Thanks Anurag On Fri, Sep

applicability of schema on document

2014-09-27 Thread Anurag Sharma
/schema.xml ./example/multicore/core1/conf/schema.xml ./example/solr/collection1/conf/schema.xml Any documentation or unit tests describing the flow, creating and using the schema will be helpful. Thanks Anurag

demo app explaining solr features

2014-09-27 Thread Anurag Sharma
, arangoDB, couchDB), ML engines(mahout, prediction.io etc) and caching servers (redis, memcache). Thanks Anurag

Re: [ANN] Lucidworks Fusion 1.0.0

2014-10-05 Thread Anurag Sharma
experience if tried running fusion on windows 8 or facing the above issue on other port. Thanks Anurag On Mon, Sep 29, 2014 at 6:05 AM, Aman Tandon amantandon...@gmail.com wrote: Hi, How we can see the demo for NLP? On Sep 24, 2014 4:43 PM, Grant Ingersoll gsing...@apache.org wrote: Hi Thomas

Re: [ANN] Lucidworks Fusion 1.0.0

2014-10-06 Thread Anurag Sharma
Ok. Thanks for the clarification. On Mon, Oct 6, 2014 at 12:54 AM, Garth Grimm garthgr...@averyranchconsulting.com wrote: Well, the current release is only supported on Linux. A Windows compatible release is planned for later this year. -Original Message- From: Anurag Sharma

Re: import solr source to eclipse

2014-10-12 Thread Anurag Sharma
I recently tried to run eclipse in debug mode and followed http://wiki.apache.org/solr/HowToConfigureEclipse. It worked for me. On Sun, Oct 12, 2014 at 7:39 PM, Ali Nazemian alinazem...@gmail.com wrote: Hi, I am going to import solr source code to eclipse for some development purpose.

Re: Using relative path for indexing in SOLR

2014-10-13 Thread Anurag Sharma
You can always give the relative path from your current working directory like below: ~/solr/example/exampledocs$ java -jar post.jar ./../sourcepdf/*.pdf This solves your issue? On Mon, Oct 13, 2014 at 3:58 PM, bharath Raghavendran bharat...@gmail.com wrote: Hi , I am currently using

Re: import solr source to eclipse

2014-10-14 Thread Anurag Sharma
Another alternative is launch the jetty server from outside and attach it remotely from eclipse. java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=7666 -jar start.jar The above command waits until the application attach succeed. On Tue, Oct 14, 2014 at 12:56 PM, Rajani Maski

solr trunk update.. build issues

2014-10-14 Thread Anurag Sharma
Just wanted to check if anyone faced below issues and how they fixed: Solr launch issue --- From command line ant compile, ant dist gives BUILD SUCCESSFUL generating \solr\dist\solr-6.0.0-SNAPSHOT.war. After copying and renaming the same file to example/start.jar on run shows

Re: solr trunk update.. build issues

2014-10-14 Thread Anurag Sharma
the root cause. Thanks for the quick response. Anurag On Wed, Oct 15, 2014 at 12:51 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Oct 15, 2014 at 12:38 AM, Anurag Sharma anura...@gmail.com wrote: Just wanted to check if anyone faced below issues and how they fixed: Solr

Re: solr trunk update.. build issues

2014-10-14 Thread Anurag Sharma
I am able to launch solr example start.jar using: java –jar start.jar The eclipse issue is also resolved now, looks like eclipse was taking time to process all the files and was an intermittent issue. Now am able to run the selected JUnits as well. On Wed, Oct 15, 2014 at 1:06 AM, Anurag Sharma

issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
Here is the issue am facing issue in using the 'solr' script on Windows with cygwin terminal: $ bin/solr -e cloud bin/solr: line 16: $'\r': command not found bin/solr: line 17: $'\r': command not found bin/solr: line 46: $'\r': command not found which: no lsof in

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
works without any issue on windows shell. This solves the problem for now. Regards, Anurag On Sun, Oct 19, 2014 at 12:39 PM, Jürgen Wagner (DVT) juergen.wag...@devoteam.com wrote: Hello Anurag, the CRLF problem with Cygwin can be cured by running the scripts all through this filter: tr

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
Hi Nazik, Thanks for the response. The link mentioned by you is very useful. I used the windows cmd and started the cloud using solr.cmd script. The script is very rich in taking multiple options. Anurag On Sun, Oct 19, 2014 at 5:01 PM, Nazik Huq nazik...@gmail.com wrote: Run Solr straight

Re: Solr exceptions during batch indexing

2014-11-08 Thread Anurag Sharma
Just trying to understand what's the challenge in returning the bad doc id(s)? Solr already know which doc(s) failed on update and can return their id(s) in response or callback. Can we have JIRA ticket on it if it doesn't exist? This looks like a common use case and every solr consumer might be

Re: Synonymn for Numbers

2014-11-08 Thread Anurag Sharma
If you are searching for single document can a real time get on doc id mentioned below serve your use case? http://localhost:8983/solr/get?id=mydoc Real time get for multiple docs: http://localhost:8983/solr/get?id=mydocid=mydoc On Sat, Nov 8, 2014 at 12:52 AM, EXTERNAL Taminidi Ravi (ETI,

Re: Delete data from stored documents

2014-11-08 Thread Anurag Sharma
Since the data already existing and need is to remove unwanted fields using a custom update processor looks less useful here. Erick's recommendation on re-indexing into a new collection if at all possible looks simple and safe. On Sat, Nov 8, 2014 at 12:44 AM, Erick Erickson

Re: How to dynamically create Solr cores with schema

2014-11-08 Thread Anurag Sharma
For more advanced dynamic fields refer dynamicField elements convention patterns for fields from the below schema.xml http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/server/solr/configsets/basic_configs/conf/schema.xml solr create core api can be referred to create a core dynamically. e.g.

Re: Sort documents by exist(multivalued field)

2014-11-08 Thread Anurag Sharma
Is it possible to describe the exact use case here. On Fri, Nov 7, 2014 at 10:26 PM, Alexandre Rafalovitch arafa...@gmail.com wrote: You encode that knowledge by using UpdateRequestProcessor. Clone the field, replace it with true, map it to boolean. That way, you will pay the price once per

Re: Minimum Term Matching in More Like This Queries

2014-11-08 Thread Anurag Sharma
There is no direct way of retrieving doc based on minimum term match in Solr. mlm params 'mlt.mintf' and 'mlt.match.offset' can be explored if they meets the criteria. Refer below links for more details: http://wiki.apache.org/solr/MoreLikeThisHandler https://wiki.apache.org/solr/MoreLikeThis In

Re: Term count in multivalue fields

2014-11-08 Thread Anurag Sharma
Since 'omitTermFremFreqAndPositions' is enabled what does a function query 'totaltermfreq(field,term)' return? Another way, not sure this is the correct approach, while indexing add a field containing the number. Filter and sum(function query) on the field while querying. Range query can also be

Re: Sort documents by first value in multivalued field

2014-11-08 Thread Anurag Sharma
What is 'first value' here, any example? On Fri, Nov 7, 2014 at 5:04 PM, Nickolay41189 klin892...@yandex.ru wrote: How can I sort documents by first value in multivalued field? (without adding copyField and without some changes in schema.xml)? -- View this message in context:

Re: Best way to map holidays to corresponding date

2014-11-09 Thread Anurag Sharma
Not sure this is the correct way but can we use synonyms here On Wed, Nov 5, 2014 at 6:14 PM, Jack Krupansky j...@basetechnology.com wrote: Unfortunately, a date is a non-analyzed field, so you can't do something like a synonym. Further, Holidays are repeating - every year - and the dates

Re: indexing errors when storeOffsetsWithPositions=true in solr 4.9.1

2014-11-09 Thread Anurag Sharma
Is it possible to share the sequence of steps with data causing this issue On Wed, Nov 5, 2014 at 4:51 PM, Alan Woodward a...@flax.co.uk wrote: Hi Min, Do you have the specific bit of text that caused this exception to be thrown? Alan Woodward www.flax.co.uk On 4 Nov 2014, at 23:15,

Re: Analytics result for each Result Group

2014-11-09 Thread Anurag Sharma
Can a function query(http://wiki.apache.org/solr/FunctionQuery) serves your use case On Wed, Nov 5, 2014 at 3:36 PM, Talat Uyarer ta...@uyarer.com wrote: I searched wiki pages about that. I do not find any documentation. If you help me I will be glad. Thanks 2014-11-04 11:34 GMT+02:00

Re: Analytics result for each Result Group

2014-11-11 Thread Anurag Sharma
Uyarer ta...@uyarer.com wrote: Hi Anurag, How can I find median function ? I use a lot that. 2014-11-09 20:39 GMT+02:00 Anurag Sharma anura...@gmail.com: Can a function query(http://wiki.apache.org/solr/FunctionQuery) serves your use case On Wed, Nov 5, 2014 at 3:36 PM, Talat Uyarer ta

Re: SOLRJ Atomic updates of String field

2014-11-11 Thread Anurag Sharma
Sorry didn't get what you are trying to achieve and the issue. On Wed, Nov 12, 2014 at 12:20 AM, bbarani bbar...@gmail.com wrote: I am using the below code to do partial update (in SOLR 4.2) partialUpdate = new HashMapString, Object(); partialUpdate.put(set,Object);

Re: SOLRJ Atomic updates of String field

2014-11-12 Thread Anurag Sharma
I understood the query now. Atomic Update and Optimistic Concurrency are independent in Solr version 5. Not sure about version 4.2, if they are combined in this version a _version_ field is needed to pass in every update. The atomic/partial update will succeed if version in the request and

Re: DIH Blob data

2014-11-12 Thread Anurag Sharma
BLOB is non-searchable field so there is no benefit of storing it into Solr. Any external key-value store can be used to store the blob and reference of this blob can be stored as a string field in Solr. On Wed, Nov 12, 2014 at 5:56 PM, stockii stock.jo...@googlemail.com wrote: I had a similar

Re: DIH Blob data

2014-11-14 Thread Anurag Sharma
your assets, etc. I don't use DIH, so personally I don't care whether it handles blobs, but it does seem like a natural extension for a system that indexes data from SQL in Solr. -Mike On 11/12/2014 01:31 PM, Anurag Sharma wrote: BLOB is non-searchable field so there is no benefit

Re: Restrict search to subset (a list of aprrox 40,000 ids from an external service) of corpus

2014-11-14 Thread Anurag Sharma
Is it possible to add another integer dyanmicField to the selected doc ids? If yes, further can add update incremental/same values to these docs now search can be done to this subset using range/filter query. On Fri, Nov 14, 2014 at 10:21 PM, henry cleland hnoclel...@gmail.com wrote: Hi guys,

Re: DIH Blob data

2014-11-14 Thread Anurag Sharma
Thanks Michael Eric for the succinct response. On Sat, Nov 15, 2014 at 12:13 AM, Michael Sokolov msoko...@safaribooksonline.com wrote: There is a binary type -Mike On 11/14/2014 12:21 PM, Anurag Sharma wrote: bq: We routinely store images and pdfs in Solr. There *is* a benefit, since

solr IRC

2014-11-14 Thread Anurag Sharma
Is this correct link to Solr IRC - http://webchat.freenode.net/?channels=#solr I tried couple of times using the IRC, the list of online users are always good but never get any response on the query and also don't see any communication/discussion.

Re: solr IRC

2014-11-14 Thread Anurag Sharma
On 14/11/2014 11:35 pm, Anurag Sharma anura...@gmail.com wrote: Is this correct link to Solr IRC - http://webchat.freenode.net/?channels=#solr I tried couple of times using the IRC, the list of online users are always good but never get any response on the query and also don't see any

Re: solr IRC

2014-11-14 Thread Anurag Sharma
Also like know, is this the only IRC or there are other's as well like solr dev, lucene dev etc On Sat, Nov 15, 2014 at 10:59 AM, Anurag Sharma anura...@gmail.com wrote: I tried couple of weeks earlier as well. As suggested, will try again after mid next week. On Sat, Nov 15, 2014 at 10:53

Eclipse junit run issue after run in Cloud mode

2014-11-15 Thread Anurag Sharma
Am facing issue in running junit after 'svn up', junit works well without any issue with a fresh trunk checkout. Only difference between fresh and updated is that the earlier was once launched solr in cloud mode. There is no issue in running through ant test -Dtestcase. Following are the log

Re: solr IRC

2014-11-15 Thread Anurag Sharma
Thanks a lot Shawn for the detailed explanation. The wiki is also very helpful. Any recommended client like pidgin, adium etc. especially for windows. On Sat, Nov 15, 2014 at 11:26 PM, Shawn Heisey apa...@elyograg.org wrote: On 11/14/2014 10:32 PM, Anurag Sharma wrote: Also like know

Re: Solr HTTP client authentication

2014-11-17 Thread Anurag Sharma
I think Solr encourage SSL than authentication On Mon, Nov 17, 2014 at 6:08 PM, Bai Shen baishen.li...@gmail.com wrote: I am using solrj to connect to my solr server. However I need to authenticate against the server and can not find out how to do so using solrj. Is this possible or do I

ant compile = not able to resolve dependencies

2015-01-10 Thread Anurag Sharma
#org.restlet.ext.servlet;2.3.0: configuration not found in org.restlet.jee#org.restlet.ext.servlet;2.3.0: 'master'. It was required from org.apache.solr#core;working@pc compile Please suggest if anyone faced this issue. Thanks Anurag

Re: ant compile = not able to resolve dependencies

2015-01-10 Thread Anurag Sharma
Any directions to resolve it is also helpful. On Sat, Jan 10, 2015 at 2:48 PM, Anurag Sharma anura...@gmail.com wrote: Hi, I am facing issue in resolving the dependency while doing 'ant compile' on trunk, seeing following error: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES

Sort by payload field desc fails

2018-07-03 Thread Anurag Nilesh
eProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\n\tat java.lang.Thread.run(Thread.java:748)\n", "code":500}} Do you guys have any pointers on how to resolve this? Thanks, Anurag

Re: Sort by payload field desc fails

2018-08-09 Thread Anurag Nilesh
I was seeing the issue with payload sort on SOLR 6.6.0 version. This issue resolved when we started using 7.4.0 version. On Tue, Jul 3, 2018 at 5:34 PM, Anurag Nilesh wrote: > Hi, > I was trying out extracting the payload field value for a payload field > type and then doing a s