Solr results in null response

2017-12-26 Thread Kumar, Amit
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) best, Amit

SegmentInfo from (SolrIndexSearcher) LeafReader

2016-05-14 Thread Amit Kumar
possible to get the SegmentInfo that I might be missing, If I am in the SearchComponent.prepare/process. Many thanks, Amit

Re: How fast indexing?

2016-03-21 Thread Amit Jha
Rgds AJ > On 22-Mar-2016, at 05:32, Shawn Heisey wrote: > >> On 3/20/2016 6:11 PM, Amit Jha wrote: >> In my case I am using DIH to index the data and Query is having 2 join >> statements. To index 70K documents it is taking 3-4Hours. Document size >> would be ar

Re: How fast indexing?

2016-03-21 Thread Amit Jha
Yes, I do have multiple modes in my solr cloud setup. Rgds AJ > On 21-Mar-2016, at 22:20, fabigol wrote: > > Amit Jha, > do you have several sold server with solr cloud? > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Ho

Re: How fast indexing?

2016-03-20 Thread Amit Jha
Hi All, In my case I am using DIH to index the data and Query is having 2 join statements. To index 70K documents it is taking 3-4Hours. Document size would be around 10-20KB. DB is MSSQL and using solr4.2.10 in cloud mode. Rgds AJ > On 21-Mar-2016, at 05:23, Erick Erickson wrote: > > In my

Re: SolrCloud Document Update Problem

2015-06-29 Thread Amit Jha
It was because of the issues Rgds AJ > On Jun 29, 2015, at 6:52 PM, Shalin Shekhar Mangar > wrote: > >> On Mon, Jun 29, 2015 at 4:37 PM, Amit Jha wrote: >> Hi, >> >> I setup a SolrCloud with 2 shards each is having 2 replicas with 3 >> zookeeper ensem

SolrCloud Document Update Problem

2015-06-29 Thread Amit Jha
Hi, I setup a SolrCloud with 2 shards each is having 2 replicas with 3 zookeeper ensemble. We add and update documents from web app. While updating we delete the document and add same document with updated values with same unique id. I am facing a very strange issue that some time 2 documents ha

Re: Real Time indexing and Scalability

2015-06-05 Thread Amit Jha
ather than once for each slave in > DC2. > > But even in this situation you are only ever indexing to the master > on DC1. > > Best, > Erick > >> On Fri, Jun 5, 2015 at 1:20 PM, Amit Jha wrote: >> Thanks Shawn, for reminding CloudSolrServer, yes I have moved to

Re: Real Time indexing and Scalability

2015-06-05 Thread Amit Jha
ne on both. If I setup replication between 2 servers and configure both as repeater, than both can act master and slave for each other. Therefore writing can be done on both. Rgds AJ > On Jun 6, 2015, at 1:26 AM, Shawn Heisey wrote: > >> On 6/5/2015 1:38 PM, Amit Jha wrote: >>

Re: Real Time indexing and Scalability

2015-06-05 Thread Amit Jha
For instance, in the > master/slave setup you won't see docs on the slave until after the > polling interval is expired and the index is replicated. > 2> In SolrCloud you aren't committing appropriately. > > You might review: http://wiki.apache.org/solr/UsingMailingLists &

Re: Real Time indexing and Scalability

2015-06-05 Thread Amit Jha
I want to have realtime index and realtime search. Rgds AJ > On Jun 5, 2015, at 10:12 PM, Amit Jha wrote: > > Hi, > > In my use case, I am adding a document to Solr through spring application > using spring-data-solr. This setup works well with single Solr. In current &g

Real Time indexing and Scalability

2015-06-05 Thread Amit Jha
Hi, In my use case, I am adding a document to Solr through spring application using spring-data-solr. This setup works well with single Solr. In current setup it is single point of failure. So we decided to use solr replication because we also need centralized search. Therefore we setup two ins

Re: SolrCloud Replication Issue

2015-04-27 Thread Amit L
Are there any known network issues? > * Do you have any idea about the GC on those replicas? > > > On Mon, Apr 27, 2015 at 1:25 PM, Amit L wrote: > > > Hi, > > > > A few days ago I deployed a solr 4.9.0 cluster, which consists of 2 > > collections. Each collection

SolrCloud Replication Issue

2015-04-27 Thread Amit L
got me slighlty concerned. During these periods I didn't notice any issues with the cluster and everything looks healthy in the cloud summary. All of the instances are hosted on AWS. Any idea what may be causing this issue and what I can do to mitigate? Thanks Amit

Re: Retrieving Phonetic Code as result

2015-01-23 Thread Amit Jha
g/solr/4_10_2/solr-core/org/apache/solr/handler/FieldAnalysisRequestHandler.html > and in solrconfig.xml > > > -- Jack Krupansky > >> On Thu, Jan 22, 2015 at 8:42 AM, Amit Jha wrote: >> >> Hi, >> >> I need to know how can I retrieve phonetic codes. Doe

Re: Retrieving Phonetic Code as result

2015-01-22 Thread Amit Jha
, why can't solr On Thu, Jan 22, 2015 at 7:54 PM, Amit Jha wrote: > Hi, > > I need to know how can I retrieve phonetic codes. Does solr provide it as > part of result? I need codes for record matching. > > *following is schema fragment:* >

Re: Retrieving Phonetic Code as result

2015-01-22 Thread Amit Jha
Hi, I need to know how can I retrieve phonetic codes. Does solr provide it as part of result? I need codes for record matching. *following is schema fragment:* Hi, Thanks for response, I can see generated MetaPhone codes using Luke. I am us

Retrieving Phonetic Code as result

2015-01-22 Thread Amit Jha
Hi, I need to know how can I retrieve phonetic codes. Does solr provide it as part of result? I need codes for record matching. *following is schema fragment:*

Re: De Duplication using Solr

2015-01-03 Thread Amit Jha
y/solr/De-Duplication > > > -- Jack Krupansky > > On Sat, Jan 3, 2015 at 2:54 AM, Amit Jha wrote: > > > I am trying to find out duplicate records based on distance and phonetic > > algorithms. Can I utilize solr for that? I have following fields and > > condit

De Duplication using Solr

2015-01-02 Thread Amit Jha
I am trying to find out duplicate records based on distance and phonetic algorithms. Can I utilize solr for that? I have following fields and conditions to identify exact or possible duplicates. 1. Fields prefix suffix firstname lastname email(primary_email1, email2, email3) phone(primary_phone1,

Re: different fields for user-supplied phrases in edismax

2014-12-12 Thread Amit Jha
Hi Mike, What is exact your use case? What do mean by "controlling the fields used for phrase queries" ? Rgds AJ > On 12-Dec-2014, at 20:11, Michael Sokolov > wrote: > > Doug - I believe pf controls the fields that are used for the phrase queries > *generated by the parser*. > > What I

Re: Boost Query Example

2014-02-18 Thread Amit Jha
I would say use dismax query parser and set boost factor in qf params. Following link may help http://wiki.apache.org/solr/DisMaxQParserPlugin#qf_.28Query_Fields.29 https://wiki.apache.org/solr/SolrRelevancyFAQ#Solr_Relevancy_FAQ Rgds AJ > On 18-Feb-2014, at 20:49, "EXTERNAL Taminidi Ravi (ETI

Re: Fault Tolerant Technique of Solr Cloud

2014-02-18 Thread Amit Jha
Solr will complaint only if you brought down both replica & leader of same shard. It would be difficult to have highly available env. If you have less number of physical servers. Rgds AJ > On 18-Feb-2014, at 18:35, Vineet Mishra wrote: > > Hi All, > > I want to have clear idea about the Faul

Solr Deduplication use of overWriteDupes flag

2014-02-04 Thread Amit Agrawal
overwriteDupes? I have checked the existing Wiki; there is very little explanation of the flag there. Thanks, -Amit

Re: Boosting documents by categorical preferences

2014-01-30 Thread Amit Nithian
Chris, Sounds good! Thanks for the tips.. I'll be glad to submit my talk to this as I have a writeup pretty much ready to go. Cheers Amit On Tue, Jan 28, 2014 at 11:24 AM, Chris Hostetter wrote: > > : The initial results seem to be kinda promising... of course there are >

Re: Boosting documents by categorical preferences

2014-01-27 Thread Amit Nithian
at I have soon and post back. If there is feedback or other thoughts let me know! Cheers Amit On Fri, Nov 22, 2013 at 11:38 AM, Chris Hostetter wrote: > > : I thought about that but my concern/question was how. If I used the pow > : function then I'm still boosting the bad ca

SolrCloud Cluster Setup - Shard & Replica

2014-01-18 Thread Amit Jha
case? Regards Amit

Index size - to determine storage

2014-01-09 Thread Amit Jha
Hi, I would like to know if I index a file I.e PDF of 100KB then what would be the size of index. What all factors should be consider to determine the disk size? Rgds AJ

Re: DateField - Invalid JSON String Exception - converting Query Response to JSON Object

2014-01-07 Thread Amit Jha
Hey Hoss, Thanks for replying back..Here is the response generated by solrj. *SolrJ Response*: ignore the Braces at It have copied it from big chunk Response: {responseHeader={status=0,QTime=0,params={lowercaseOperators=true,sort=score desc,cache=false,qf=content,wt=javabin,rows=100,defType=e

Re: DateField - Invalid JSON String Exception - converting Query Response to JSON Object

2014-01-07 Thread Amit Jha
I am using it. But timestamp having ":" in between causes the issue. Please help On Tue, Jan 7, 2014 at 11:46 AM, Ahmet Arslan wrote: > Hi Amit, > > If you want json response, Why don't you use wt=json? > > Ahmet > > > On Tuesday, January 7, 2014 7:34 AM,

Re: DateField - Invalid JSON String Exception - converting Query Response to JSON Object

2014-01-06 Thread Amit Jha
Tue, Jan 7, 2014 at 12:28 AM, Amit Jha wrote: > Hi, > > "Wish You All a Very Happy New Year". > > We have index where date field have default value as 'NOW'. We are using > solrj to query solr and when we try to convert query > response(response.ge

DateField - Invalid JSON String Exception - converting Query Response to JSON Object

2014-01-06 Thread Amit Jha
Hi, "Wish You All a Very Happy New Year". We have index where date field have default value as 'NOW'. We are using solrj to query solr and when we try to convert query response(response.getResponse) to JSON object in java. The JSON API(org.json) throws 'invalid json string' exception. API say

Re: /select with 'q' parameter does not work

2013-12-11 Thread Amit Aggarwal
When you start solr , do you find any error or exception Java -jar ./start.jar ... Then see if there is any problem ... Otherwise take solr solrconfig.xml and try to run .. it should run On 11-Dec-2013 5:41 PM, "Nutan" wrote: > default="true"> > > >explicit >20 >

Re: /select with 'q' parameter does not work

2013-12-11 Thread Amit Aggarwal
Because in your solrconfig ... Against /select ... DirectUpdateHandler is mentioned . It should be solr.searchhanlder .. On 11-Dec-2013 3:11 PM, "Nutan" wrote: > I have indexed 9 docs. > this my* schema.xml* > > > > > multiValued="false"/> > required="true" > multiValued="false"/> > multiVal

Please help me to understand debugQuery output

2013-11-25 Thread Amit Aggarwal
rmFreq=1.0 3.3084502 = idf(docFreq=33, maxDocs=342) 0.125 = fieldNorm(doc=327) Any links where this explaination is explained ? Thanks -- Amit Aggarwal 8095552012

Re: Can I use boosting fields with edismax ?

2013-11-24 Thread Amit Aggarwal
rom there it's a matter > of adjusting the boosts to get the results you want. > > > Best, > Erick > > > On Sat, Nov 23, 2013 at 9:17 AM, Amit Aggarwal >wrote: > > > Hello All , > > > > I am using defType=edismax > > So will boosting will w

Can I use boosting fields with edismax ?

2013-11-23 Thread Amit Aggarwal
Hello All , I am using defType=edismax So will boosting will work like this in solrConfig.xml value_search^2.0 desc_search country_search^1.5 state_search^2.0 city_search^2.5 area_search^3.0 I think it is not working .. If yes , then what should I do ?

Re: Boosting documents by categorical preferences

2013-11-20 Thread Amit Nithian
edgehammer approach of category exclusion through filters. Thanks Amit On Nov 19, 2013 8:51 AM, "Chris Hostetter" wrote: > : My approach was something like: > : 1) Look at the categories that the user has preferred and compute the > : z-score > : 2) Pick the top 3 among

Re: How to get score with getDocList method Solr API

2013-11-19 Thread Amit Aggarwal
. > > On Tue, Nov 19, 2013 at 8:08 AM, Amit Aggarwal > wrote: > > Hello All, > > > > I am trying to develop a custom request handler. > > Here is the snippet : > > > > // returnMe is nothing but a list of Document going to return > > >

Re: Boosting documents by categorical preferences

2013-11-18 Thread Amit Nithian
are the results one day in a meetup as I think it'll be kinda interesting. Thanks again Amit On Thu, Nov 14, 2013 at 11:11 AM, Chris Hostetter wrote: > > : I have a question around boosting. I wanted to use the &boost= to write a > : nested query that will boost a document

How to get score with getDocList method Solr API

2013-11-18 Thread Amit Aggarwal
()) { returnMe.add(searcher.doc(it.next())); } Ques 1 - > My question is , what does FLAG represent in getDocList method ? Ques 2 - > How can I ensure that searcher.getDocList method give me score also with each document. -- Amit Aggarwal 8095552012

Boosting documents by categorical preferences

2013-11-12 Thread Amit Nithian
tegory:Action)* makes sense? What are some techniques people use to boost documents based on discrete things like category, manufacturer, genre etc? Thanks! Amit

Re: Why do people want to deploy to Tomcat?

2013-11-12 Thread Amit Aggarwal
Agreed with Doug On 12-Nov-2013 6:46 PM, "Doug Turnbull" wrote: > As an aside, I think one reason people feel compelled to deviate from the > distributed jetty distribution is because the folder is named "example". > I've had to explain to a few clients that this is a bit of a misnomer. The > IT

Re: When is/should qf different from pf?

2013-10-28 Thread Amit Nithian
Thanks Erick. Numeric fields make sense as I guess would strictly string fields too since its one term? In the normal text searching case though does it make sense to have qf and pf differ? Thanks Amit On Oct 28, 2013 3:36 AM, "Erick Erickson" wrote: > The facetious answer is

return value from SolrJ client to php

2013-10-28 Thread Amit Aggarwal
Hello All, I have a requirement where I have to conect to Solr using SolrJ client and documents return by solr to SolrJ client have to returned to PHP. I know its simple to get document from Solr to SolrJ But how do I return documents from SolrJ to PHP ? Thanks Amit Aggarwal

When is/should qf different from pf?

2013-10-27 Thread Amit Nithian
field in the qf not in the pf or vice versa. My understanding from the docs is that qf is a term-wise hard filter while pf is a phrase-wise boost of documents who made it past the "qf" filter. Thanks! Amit

Re: How to configure solr to our java project in eclipse

2013-10-27 Thread Amit Nithian
Try this: http://hokiesuns.blogspot.com/2010/01/setting-up-apache-solr-in-eclipse.html I use this today and it still works. If anything is outdated (as it's a relatively old post) let me know. I wrote this so ping me if you have any questions. Thanks Amit On Sun, Oct 27, 2013 at 7:33 PM,

Re: Stop solr service

2013-10-27 Thread Amit Aggarwal
Lol ... Unsubscribe from this mailing list . On 27-Oct-2013 5:02 PM, "veena rani" wrote: > I want to stop the mail > > > On Sun, Oct 27, 2013 at 4:37 PM, Rafał Kuć wrote: > > > Hello! > > > > Could you please write more about what you want to do? Do you need to > > stop running Solr process. If

Re: Solr For

2013-10-27 Thread Amit Aggarwal
Depends One core one schema file ... One solrconfig.xml . So if you want only one core then put all required fields of both search in one schema file and carry out your searches Otherwise make two cores having two schema file and perform searches accordingly ... On 27-Oct-2013 7:22 AM, "

Re: How to configure solr to our java project in eclipse

2013-10-27 Thread Amit Aggarwal
How so you start your another project ? If it is maven or ant then you can use anturn plugin to start solr . Otherwise you can write a small shell script to start solr .. On 27-Oct-2013 9:15 PM, "giridhar" wrote: > Hi friends,Iam giridhar.please clarify my doubt. > > we are using solr for our pr

Re: Please explain SolConfig.xml in terms of SolrAPIs (Java Psuedo Code)

2013-10-25 Thread Amit Aggarwal
> > > Regards, > >Alex. > > > > Personal website: http://www.outerthoughts.com/ > > LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch > > - Time is the quality of nature that keeps events from happening all at > > once. Lately, it doesn't

Please explain SolConfig.xml in terms of SolrAPIs (Java Psuedo Code)

2013-10-25 Thread Amit Aggarwal
Hello All, Can some one explain me following snippet of SolrConfig.xml in terms of Solr API (Java Psuedo Code) for better understanding. like ** * * * * * * ** ** ** ** ** Here I want to know . 1. What is "update

Re: Solr Java Client

2013-09-14 Thread Amit Jha
Question is not clear to me. Please be more elaborative in your query. Why do u want to store index to DB tables? Rgds AJ On 15-Sep-2013, at 7:20, Baskar Sikkayan wrote: > How to add index to 3 diff tables from java ... > > > On Sun, Sep 15, 2013 at 6:49 AM, Amit Jha wrote:

Re: Solr Java Client

2013-09-14 Thread Amit Jha
Add a field called "source" in schema.xml and value would be your table names. Rgds AJ On 15-Sep-2013, at 5:38, Baskar Sikkayan wrote: > Hi, > I am new to Solr and trying to use Solr java client instead of using the > Data handler. > Is there any configuration i need to do for this? > > I

Re: MySQL Data import handler

2013-09-14 Thread Amit Jha
Hi Baskar, Just create a single schema.xml which should contains required fields from 3 tables. Add a status column to child table.i.e 1 = add 2 = update 3 = delete 4 = indexed Etc Write a program using solrj which will read the status and do thing accordingly. Rgds AJ On 15-Sep-2013, at

Re: Committing when indexing in parallel

2013-09-14 Thread Amit Jha
Hi, As per my knowledge, any number of requests can be issued in parallel for index the documents. Any commit request will write them to index. So if P1 issued a commit then all documents of P2 those are eligible get committed and remaining documents will get committed on other commit request.

Re: Combining Solr score with customized user ratings for a document

2013-09-10 Thread Amit Jha
You can use DB for storing user preferences and later if you want you can flush them to solr as an update along with userid. Or you may add a result pipeline filter Rgds AJ On 13-Feb-2013, at 17:50, Á_o wrote: > Hi: > > I am working on a proyect where we want to recommend our users pr

Re: More on topic of Meta-search/Federated Search with Solr

2013-08-26 Thread Amit Jha
Hi, I would suggest for the following. 1. Create custom search connectors for each individual sources. 2. Connector will responsible to query the source of any type web, gateways etc. and get the results & write the top N results to a solr. 3. Query the same keyword to solr and display the resu

Re: Solr admin search with wildcard

2013-06-27 Thread Amit Sela
quot;youtube" or even > "something" that is a component of the URL path. No wildcard required. > > > -- Jack Krupansky > > -Original Message- From: Amit Sela > Sent: Thursday, June 27, 2013 8:37 AM > To: solr-user@lucene.apache.org > Subject: Re: Solr

Re: Solr admin search with wildcard

2013-06-27 Thread Amit Sela
> No, you cannot use wildcards within a quoted term. > > Tell us a little more about what your strings look like. You might want to > consider tokenizing or using ngrams to avoid the need for wildcards. > > -- Jack Krupansky > > -----Original Message- From: Amit Sela >

Solr admin search with wildcard

2013-06-27 Thread Amit Sela
I'm looking to search (in the solr admin search screen) a certain field for: *youtube* I know that leading wildcards takes a lot of resources but I'm not worried with that My only question is about the syntax, would this work: field:"*youtube*" ? Thanks, I'm using Solr 3.6.2

Re: Restaurant availability from database

2013-05-23 Thread Amit Nithian
Hossman did a presentation on something similar to this using spatial data at a Solr meetup some months ago. http://people.apache.org/~hossman/spatial-for-non-spatial-meetup-20130117/ May be helpful to you. On Thu, May 23, 2013 at 9:40 AM, rajh wrote: > Thank you for your answer. > > Do you m

solr doesn't start on tomcat on aws

2013-05-15 Thread amit
I am installing solr on tomcat7 in aws using bitmani tomcat stack.My solr server is not starting; below is the errorINFO: Starting service Catalina May 15, 2013 7:01:51 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.39 May 15, 2013 7:01:

Re: Need solr query help

2013-05-14 Thread Amit Nithian
t's a post-filter implementation so that you are doing heavy computation on a presumably small set of data only to filter out the corner cases around the radius circle that results. I haven't looked at Solr's spatial querying in a while to know if this is possible or not. Cheers Am

Re: writing a custom Filter plugin?

2013-05-14 Thread Amit Nithian
attribute values on a notional "current" token. One obvious attribute is the term text itself and perhaps any positional information. The best place to start is to pick a fairly simple example from the Solr Source (maybe lowercasefilter) and try and mimic that. Cheers! Amit On Mon, May 13,

edismax returns very less matches than regular

2013-04-08 Thread amit
I have a simple system. I put the title of webpages into the "name" field and content of the web pages into the "Description" field. I want to search both fields and give the name a little more boost. A search on name field or description field returns records cloase to hundreds. http://localhost:

Re: how to skip test while building

2013-04-06 Thread Amit Nithian
If you generate the maven pom files you can do this I think by doing mvn -DskipTests=true. On Sat, Apr 6, 2013 at 7:25 AM, Erick Erickson wrote: > Don't know a good way to skip compiling the tests, but there isn't > any harm in compiling them... > > changing to the solr directory and just issui

Re: Sharing index amongst multiple nodes

2013-04-06 Thread Amit Nithian
I don't understand why this would be more performant.. seems like it'd be more memory and resource intensive as you'd have multiple class-loaders and multiple cache spaces for no good reason. Just have a single core with sufficiently large caches to handle your response needs. If you want to load

using edismax without velocity

2013-04-06 Thread amit
I am using solr3.6 and trying to use the edismax handler. The config has a /browse requestHandler, but it doesn't work because of missing class definition VelocityResponseWriter error. I have copied the jars to solr/lib following the steps here, but no luck http://wiki.apache.org/solr/VelocityRes

Re: unknown field error when indexing with nutch

2013-04-05 Thread Amit Sela
ortantly, make sure you use a Solr 4.1 solrconfig and > merge in any of your application-specific changes. > > -- Jack Krupansky > > -Original Message- From: Amit Sela > Sent: Friday, April 05, 2013 12:57 PM > To: solr-user@lucene.apache.org > Subject: unknown field er

unknown field error when indexing with nutch

2013-04-05 Thread Amit Sela
Hi all, I'm trying to run a nutch crawler and index to Solr. I'm running Nutch 1.6 and Solr 4.2. I managed to crawl and index with that Nutch version into Solr 3.6.2 but I can't seem to manage to run it with Solr 4.2 I re-built Nutch with the schema-solr4.xml and copied that file to SOLR_HOME/ex

Re: Solr 4.2 single server limitations

2013-04-04 Thread Amit Nithian
acing website (where low latency is prob desired). Again, I like to start simple and use one server until it dies then expand from there. Cheers Amit On Thu, Apr 4, 2013 at 7:58 AM, imehesz wrote: > hello, > > I'm using a single server setup with Nutch (1.6) and Solr (4.2) > &

Re: do SearchComponents have access to response contents

2013-04-04 Thread Amit Nithian
get this from your container access logs after the fact? I may be misunderstanding something but why wouldn't mining the Jetty/Tomcat logs for the response size here suffice? Thanks! Amit On Thu, Apr 4, 2013 at 1:34 AM, xavier jmlucjav wrote: > A custom QueryResponseWriter...this makes sense

Re: solre scores remains same for exact match and nearly exact match

2013-04-04 Thread amit
Thanks Jack and Andre I am trying to use edismax;but struck with the NoClassDefFoundError: org/apache/solr/response/QueryResponseWriter I am using solr 3.6 I have followed the steps here http://wiki.apache.org/solr/VelocityResponseWriter#Using_the_VelocityResponseWriter_in_Solr_Core Just the jars

Re: solre scores remains same for exact match and nearly exact match

2013-04-03 Thread amit
when I use the copy field destination as "text" it works fine. I get a boost for exact match. But if I use some other field the score is not boosted for exact match. Not sure if I am in the right direction.. I am new to solr please bear with me I checked this link http://wiki.apache.org/solr/So

Re: Solr ZooKeeper ensemble with HBase

2013-04-03 Thread Amit Sela
Trouble in what why ? If I have enough memory - HBase RegionServer 10GB and maybe 2GB for Solr ? - or you mean CPU / disk ? On Wed, Apr 3, 2013 at 5:54 PM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Hello, Amit: > > My guess is that, if HBase is working har

Re: solre scores remains same for exact match and nearly exact match

2013-04-03 Thread amit
Thanks. I added a copy field and that fixed the issue. On Wed, Apr 3, 2013 at 12:29 PM, Gora Mohanty-3 [via Lucene] < ml-node+s472066n4053412...@n3.nabble.com> wrote: > On 3 April 2013 10:52, amit <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4053412&i=

Solr ZooKeeper ensemble with HBase

2013-04-03 Thread Amit Sela
ional ZooKeeper ensemble ? I don't want to use the HBase ZooKeeper because, well first of all HBase manages it so I'm not sure it's possible and second I have HBase working pretty hard at times and I don't want to create any connection issues by overloading ZooKeeper. Thanks, Amit.

solre scores remains same for exact match and nearly exact match

2013-04-02 Thread amit
Below is my query http://localhost:8983/solr/select/?q=subject:session management in php&fq=category:[*%20TO%20*]&fl=category,score,subject The result is like below 0 983 category:[* TO *] subject:session management in php

Re: SOLR on hdfs

2013-03-06 Thread Amit Nithian
setting up a simple master/slave replication scheme for that's really easy. Cheers Amit On Wed, Mar 6, 2013 at 9:55 PM, Joseph Lim wrote: > Hi Amit, > > so you mean that if I just want to get redundancy for solr in hdfs, the > only best way to do it is to as per what Otis su

Re: SOLR on hdfs

2013-03-06 Thread Amit Nithian
aster (in a non-cloud environment) or setup SolrCloud either option would give you more redundancy than copying an index to HDFS. - Amit On Wed, Mar 6, 2013 at 12:23 PM, Joseph Lim wrote: > Hi Upayavira, > > sure, let me explain. I am setting up Nutch and SOLR in hadoop environment. >

Re: ping query frequency

2013-03-03 Thread Amit Nithian
We too run a ping every 5 seconds and I think the concurrent Mark/Sweep helps to avoid the LB from taking a box out of rotation due to long pauses. Either that or I don't see large enough pauses for my LB to take it out (it'd have to fail 3 times in a row or 15 seconds total before it's gone). The

Re: Poll: SolrCloud vs. Master-Slave usage

2013-03-01 Thread Amit Nithian
But does that mean that in SolrCloud, slave nodes are busy indexing documents? On Fri, Mar 1, 2013 at 5:37 AM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Amit, > > NRT is not possible in a master-slave setup because of the necessity > of a hard comm

Re: Poll: SolrCloud vs. Master-Slave usage

2013-02-28 Thread Amit Nithian
t said having high-availability masters requires some fairly complicated setups and I guess I am under-estimating how expensive/complicated our setup is relative to what you can get out of the box with SolrCloud. Thanks! Amit On Thu, Feb 28, 2013 at 6:29 PM, Erick Erickson wrote: > Amit: > >

Re: Poll: SolrCloud vs. Master-Slave usage

2013-02-28 Thread Amit Nithian
I don't know a ton about SolrCloud but for our setup and my limited understanding of it is that you start to bleed operational and non-operational aspects together which I am not comfortable doing (i.e. software load balancing). Also adding ZooKeeper to the mix is yet another thing to install, setu

Re: numFound is not correct while using Result Grouping

2013-02-26 Thread Amit Nithian
I need to write some tests which I hope to do tonight and then I think it'll get into 4.2 On Tue, Feb 26, 2013 at 6:24 AM, Nicholas Ding wrote: > Thanks Amit, that's cool! So it will also be fixed on Solr 4.2, right? > > On Mon, Feb 25, 2013 at 6:04 PM, Amit Nithian wrote:

Re: [ANN] vifun: tool to help visually tweak Solr boosting

2013-02-25 Thread Amit Nithian
This is cool! I had done something similar except changing via JConsole/JMX: https://issues.apache.org/jira/browse/SOLR-2306 We had something not as nice at Zvents but I wanted to expose these as MBean properties so you could change them via any JMX UI like JVisualVM Cheers! Amit On Mon, Feb

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Amit Nithian
Yeah I had a similar problem. I filed and submitted this patch: https://issues.apache.org/jira/browse/SOLR-4310 Let me know if this is what you are looking for! Amit On Mon, Feb 25, 2013 at 1:50 PM, Teun Duynstee wrote: > Ah, I see. The docs say "Although this result format does not

Re: Slaves always replicate entire index & Index versions

2013-02-21 Thread Amit Nithian
Sounds good I am trying the combination of my patch and 4413 now to see how it works and will have to see if I can put unit tests around them as some of what I thought may not be true with respect to the commit generation numbers. For your issue above in your last post, is it possible that there w

Re: Slaves always replicate entire index & Index versions

2013-02-21 Thread Amit Nithian
at 1:24 AM, raulgrande83 wrote: > Hi Amit, > > I have came across some JIRAs that may be useful in this issue: > https://issues.apache.org/jira/browse/SOLR-4471 > https://issues.apache.org/jira/browse/SOLR-4354 > https://issues.apache.org/jira/browse/SOLR-4303 > https://i

Re: Slaves always replicate entire index & Index versions

2013-02-21 Thread Amit Nithian
be added to the next release of Solr as this is a fairly significant bug to me. Cheers Amit On Thu, Feb 21, 2013 at 12:56 AM, Amit Nithian wrote: > So the diff in generation numbers are due to the commits I believe that > Solr does when it has the new index files but the fact that it's

Re: replication problems with solr4.1

2013-02-14 Thread Amit Nithian
4.1 as this is next on my TODO list so maybe I'll run into the same problem :-) but I wanted to provide some info as I just recently dug through the replication code to understand it better myself. Cheers Amit On Wed, Feb 13, 2013 at 11:57 PM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de&

Re: Anyone else see this error when running unit tests?

2013-02-14 Thread Amit Nithian
must not be "ahead" of the lucene one (b/c I don't control the classpath order and honestly this shouldn't be a requirement to run a test) so it periodically bombed. This little fix seems to have helped provided that you don't care about Lucene3x vs Lucene40 for your tes

Re: Boost Specific Phrase

2013-02-13 Thread Amit Nithian
Ah yes sorry mis-understood. Another option is to use n-grams so that "projectmanager" is a term so any query involving "project manager in india with 2 years experience" would match higher because the query would contain "projectmanager" as a term. On Wed, Feb 13, 2013 at 9:56 PM, Hemant Verma w

Re: replication problems with solr4.1

2013-02-13 Thread Amit Nithian
Okay so then that should explain the generation difference of 1 between the master and slave On Wed, Feb 13, 2013 at 10:26 AM, Mark Miller wrote: > > On Feb 13, 2013, at 1:17 PM, Amit Nithian wrote: > > > doesn't it do a commit to force solr to recognize the changes? > > yes. > > - Mark >

Re: replication problems with solr4.1

2013-02-13 Thread Amit Nithian
m being removed. What OS are you using and is the index/ directory stored on a local file system vs NFS? HTH Amit On Tue, Feb 12, 2013 at 2:26 AM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > > Now this is strange, the index generation and index version > is changing wi

Re: what do you use for testing relevance?

2013-02-13 Thread Amit Nithian
Ultimately this is dependent on what your metrics for success are. For some places it may be just raw CTR (did my click through rate increase) but for other places it may be a function of money (either it may be gross revenue, profits, # items sold etc). I don't know if there is a generic answer fo

Re: Boost Specific Phrase

2013-02-13 Thread Amit Nithian
Have you looked at the "pf" parameter for dismax handlers? pf does I think what you are looking for which is to boost documents with the query term exactly matching in the various fields with some phrase slop. On Wed, Feb 13, 2013 at 2:59 AM, Hemant Verma wrote: > Hi All > > I have a use case wi

Re: Benefits of Solr over Lucene?

2013-02-12 Thread Amit Jha
Add to Jack reply, Solr can also be embed into the application and can run on same process. Solr, the server-I zation of lucene. The line is very blurred and solr is not a very thin wrapper around lucene library. Most solr features are distinct from lucene like - detailed breakdown of scoring

Re: Solr HTTP Replication Question

2013-01-25 Thread Amit Nithian
Okay one last note... just for closure... looks like it was addressed in solr 4.1+ (I was looking at 4.0). On Thu, Jan 24, 2013 at 11:14 PM, Amit Nithian wrote: > Okay so after some debugging I found the problem. While the replication > piece will download the index from the master serv

  1   2   3   >