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 wrote: > Hi, > > I am facing issue in resolving the dependency while doing 'ant compile' on > trunk, seeing following error: > > [ivy:retrieve] ::

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] :: org.restlet.jee#or

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 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 need to drop solrj? I

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 wrote: > On 11/14/2014 10:32 PM, Anurag Sharma wrote: > > Also like know, is this the on

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 wh

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

Re: solr IRC

2014-11-14 Thread Anurag Sharma
> On 14/11/2014 11:35 pm, "Anurag Sharma" 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 resp

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

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 wrote: > Hi guys, > How do I search onl

Re: DIH Blob data

2014-11-14 Thread Anurag Sharma
about Solr getting out of sync with the other system, you can use Solr > > replication for all 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 indexe

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 wrote: > I had a similar problem and didnt find any

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 indexe

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 wrote: > I am using the below code to do partial update (in SOLR 4.2) > > partialUpdate = new HashMap(); > partialUpdate.put("set",Object); > doc.setField(description, partialUpdate); > serve

Re: Analytics result for each Result Group

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

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

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 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, Min L wr

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 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 can vary, so > they wo

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 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: > http://lucene.472066.n

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 d

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 c

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

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

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 wrote: > bq: My qu

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=mydoc&id=mydoc On Sat, Nov 8, 2014 at 12:52 AM, EXTERNAL Taminidi Ravi (ETI, Autom

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 w

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
is link http://bit.ly/1rlmYvF . > > @nazik_huq > > On Sun, Oct 19, 2014 at 2:51 AM, Anurag Sharma wrote: > > > Here is the issue am facing issue in using the 'solr' script on Windows > > with cygwin terminal: > > > > $ bin/solr -e cloud > > bi

Re: issue in launching SolrCloud windows/cygwin

2014-10-19 Thread Anurag Sharma
rposes as you're very likely to have to change > parameters or settings for your 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 launching SolrCloud windows/cygwin

2014-10-18 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 (/usr/local/bin:/usr/bin:/cygdrive

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: solr trunk update.. build issues

2014-10-14 Thread Anurag Sharma
to explore more to find 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 > wrote: > > > Just wanted to check if anyone faced below i

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

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 wrote: > Hi , > > I am currently using solr-4.9.0 to index my P

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 wrote: > Hi, > I am going to import solr source code to eclipse for some development > purpose. Unfortunately every tutor

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

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 ex

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,

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

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
usually just has "localhost" and 7666 for the URL/port. > > You do not have to attach a debugger first, just specify 'suspend=n' > instead. But starting with 'suspend=y' insures you have actually > attached to the server and have all the parts in place. >

Re: running solr in debug through eclipse

2014-09-21 Thread Anurag Sharma
f you already know if it is add, delete or update then start 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: >

Re: running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
; > > Am 18.09.2014 um 20:50 schrieb 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. > > > >

Re: running solr in debug through eclipse

2014-09-18 Thread Anurag Sharma
your first breakpoint, I have no clue. You haven't > told us a thing 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 > wrote: >

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