ant compile = not able to resolve dependencies

2015-01-10 Thread Anurag Sharma
Hi, I am facing issue in resolving the dependency while doing 'ant compile' on trunk, seeing following error: [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: [ivy:retrieve] :: [ivy:retrieve] ::

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

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

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

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

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
production environment, anyway. Using the latest Jetty is one such example. Best regards, --Jürgen On 19.10.2014 08:51, Anurag Sharma wrote: 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

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
On Sun, Oct 19, 2014 at 2:51 AM, Anurag Sharma anura...@gmail.com wrote: 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

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

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-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: [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: [ANN] Lucidworks Fusion 1.0.0

2014-10-05 Thread Anurag Sharma
I downloaded fusion and tried to run it on windows 8 using cygwin. It's giving Error: Unable to access jarfile /home/user1/fusion/jetty/home/start.jar. Also tried changing the permission of jar, .sh and all folder/subfolders in fusion to 777 but still getting the same error. Please share your

applicability of schema on document

2014-09-27 Thread Anurag Sharma
I am trying to understand how the schema and it's field types gets applied to a document. Is it based on a document Id e.g. how to specify solr to store fields like age as integer, dateofbirth as date but not as a string or vice versa. Also, is it possible to change the field type at runtime?

demo app explaining solr features

2014-09-27 Thread Anurag Sharma
I am wondering if there is any demo app that can demonstrate all the features/capabilities of solr. My intention is to understand, use and play around all the features supported by solr. Also looking to explore how solr fits with NLP (like open-nlp), different datastores (like cassandra, mongodb,

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
with AddUpdateCommand.java, DeleteUpdateCommand.java or UpdateCommand.java. Just follow the red line :-) Regards Bernd Am 19.09.2014 um 08:47 schrieb 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

Re: running solr in debug through eclipse

2014-09-19 Thread Anurag Sharma
. If you are adding/modifying code and Junit tests use Junit test cases. If you are debugging runtime problems under load use remote debugging. If you are going for in deep debugging (even into Jetty and Java) use RunJettyRun for Eclipse. Regards Bernd Am 18.09.2014 um 20:50 schrieb Anurag Sharma

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
about what you're trying to accomplish, so somewhere in the code is about the best I can say ;). Best Erick On Thu, Sep 18, 2014 at 11:50 AM, Anurag Sharma anura...@gmail.com wrote: Dear Solr users, I am new to Solr dev community and trying to setup eclipse to debug a running solr