Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread Erick Erickson
Would it serve to sort by distance? True, if you matched a zillion documents within a 1km radius you'd still perform the distance calcs, but the result would be a manageable number. I have to ask "Why to you care?". Is this an efficiency question (i.e. you want to keep Solr from having to do

Get commit time of Solr on closing of a core

2017-06-21 Thread Shashank Pedamallu
Hi, I observed that in Solr, when a core closes, it does a commit on the core, but does not make post commit callBacks. In this scenario, is there a reliable way to determine the lastCommitTime of a core in the closeHook of a core handler? Thanks, Shashank

Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread deniz
it is for sure possible to use d value for limiting the distance, however, it might not be very efficient, as some of the coords may not have any docs around for a large value of d... so it is hard to determine a default value for d. though it sounds like havinga default d and gradual increments

Re: Solr Search Problem with Multiple Data-Import Handler

2017-06-21 Thread Erick Erickson
First place I'd look is whether the jobs have clean=true set. If so the first thing DIH does is delete all documents. Best, Erick On Wed, Jun 21, 2017 at 3:52 PM, Pandey Brahmdev wrote: > Hi, > I have setup Apache Solr 6.6.0 on Windows 10, 64-bit. > > I have created a

Solr Search Problem with Multiple Data-Import Handler

2017-06-21 Thread Pandey Brahmdev
Hi, I have setup Apache Solr 6.6.0 on Windows 10, 64-bit. I have created a simple core & configured DataImport Handlers. I have configured 2 dataImport handlers in the Solr-config.xml file. First for to connect to DB & have data from DB Tables. And Second for to have data from all pdf files

Mixing distrib=true and false in one request handler?

2017-06-21 Thread Walter Underwood
I’d like to add a suggest component to a search request handler. The search needs to go to all four shards. The suggest needs distrib=false because the dictionary is loaded from a file. When the suggest is distributed, I get four copies of each suggestion. Is there suggest.distrib=false? Can I

Re: echo streaming expression - two/multiple fields

2017-06-21 Thread Susheel Kumar
Thanks, Joel. I was trying to troubleshoot the other issue with complement function by creating some dummy tuples. Can you please look the other email thread I am having issue with complement function. On Wed, Jun 21, 2017 at 3:31 PM, Joel Bernstein wrote: > Starting in

Re: echo streaming expression - two/multiple fields

2017-06-21 Thread Joel Bernstein
Starting in Solr 6.6 there is a tuple expression which returns a single tuple: tuple(a="hello", b="world") You can also do things like: tuple(a=search(...), b=search(...)) Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Jun 21, 2017 at 3:27 PM, Susheel Kumar

echo streaming expression - two/multiple fields

2017-06-21 Thread Susheel Kumar
How can we echo two/multiple fields out. The current echo expression emits "echo" field which can be then renamed with select but if i wanted to emit another field like id along echo, is that supported or we need to enhance echo for that... select(echo("A"),echo as email) Thanks, Susheel

Re: Complement Stream function - Invalid ReducerStream - substream comparator (sort) must be a superset of this stream's comparator

2017-06-21 Thread Susheel Kumar
While simple complement works in this way === complement(merge(sort(select(echo("A"),echo as email),by="email asc"), sort(select(echo("B"),echo as email),by="email asc"), on="email asc"), merge(sort(select(echo("A"),echo as email),by="email asc"), sort(select(echo("D"),echo as email),by="email

RE: How to synchronize the imports (DIH) delta imports

2017-06-21 Thread Srinivas Kashyap
Thanks Mikhail, Can you please explain the same? How can it be done in SolrJ Thanks and Regards, Srinivas Kashyap Senior Software Engineer “GURUDAS HERITAGE” 100 Feet Ring Road, Kadirenahalli, Banashankari 2nd Stage, Bangalore-560070 P: 973-986-6105 Bamboo Rose The only B2B marketplace powered

Complement Stream function - Invalid ReducerStream - substream comparator (sort) must be a superset of this stream's comparator

2017-06-21 Thread Susheel Kumar
Hi, Two issues with complement function (solr 6.6) 1) When i execute below streaming expression, == let(a=fetch(collection1,having(rollup(over=email, count(email), select(search(collection1, q=*:*,

Re: install solr service possible bug

2017-06-21 Thread Susheel Kumar
Thanks for checking and confirming Shawn. I have created JIRA https://issues.apache.org/jira/browse/SOLR-10932 On Tue, Jun 20, 2017 at 10:06 AM, Shawn Heisey wrote: > On 6/14/2017 7:47 AM, Susheel Kumar wrote: > > Can anyone confirm if this "service --version" command

Re: Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread alessandro.benedetti
As any other search you can paginate playing with the 'row' and 'start' parameters ( or cursors if you want to go deep), show only the first K results is your responsibility. Is it not possible in your domain to identify a limit d ( out of that your results will lose meaning ?) You can not match

Re: When to use LTR

2017-06-21 Thread alessandro.benedetti
Hi Ryan, first thing to know is that Learning To Rank is about relevancy and specifically it is about to improve your relevancy function. Deciding if to use or not LTR has nothing to do with your index size or update frequency ( although LTR brings some performance consideration you will need to

When to use LTR

2017-06-21 Thread Ryan Yacyshyn
Hey all, There's a lot of interest and articles explaining how learning to rank can be implemented in search engines and that's awesome. I'm looking forward to giving this a try. However, I was wondering.. when would you know that implementing LTR would *really help* in any given case? Is it

Spatial Search based on the amount of docs, not the distance

2017-06-21 Thread deniz
I am trying to figure out if it is possible to have the spatial search limit itself based on the amount of docs rather than the distance... What I want is, sth like "closest XXX documents from point(x,y)" in dependent from "d" value in the query... would this need a custom plugin, or there are

Re: How to synchronize the imports (DIH) delta imports

2017-06-21 Thread Mikhail Khludnev
Hello, Srinivas. You can literally poll import status. On Wed, Jun 21, 2017 at 7:41 AM, Srinivas Kashyap wrote: > Hello, > > We have our architecture of index server, where delta-imports run > periodically based on modify_ts of the records. > > We have another adhoc

How to synchronize the imports (DIH) delta imports

2017-06-21 Thread Srinivas Kashyap
Hello, We have our architecture of index server, where delta-imports run periodically based on modify_ts of the records. We have another adhoc import handler on each core where import is called based on the key of solr core. This adhoc import is also called periodically. We have scenario