Re: Solr cloud in kubernetes

2017-11-21 Thread Upayavira
to stand up an entire Solr stack, from scratch, including ZooKeeper, Solr, solr.xml, config upload, collection creation, replica creation, content indexing, etc. It is a delight to see when it works. Upayavira On Mon, 20 Nov 2017, at 09:30 AM, Björn Häuser wrote: > Hi Raja, > > we

Re: Wildcard search not working

2016-08-11 Thread Upayavira
You have a stemming filter in your analysis chain. Go to the analysis tab, select the 'text' field, and put "Roche" into both boxes. Click analyse. I bet you you will see Roch, not Roche, because of your stemming filter shown below. That's what Ahmet shrewdly identified above. Upayavi

Re: Out of sync deletions causing differing IDF

2016-08-04 Thread Upayavira
Thx for these both, we'll give them both a try, see what difference they make. Upayavira On Thu, 4 Aug 2016, at 12:27 PM, Erick Erickson wrote: > Upayavira: > > bq: I would have expected that, because the data is being indexed > concurrently across replicas, that the pattern of

Out of sync deletions causing differing IDF

2016-08-04 Thread Upayavira
deletes would be concentrated into a single large segment. Has anyone seen this sort of thing before, and does anyone have suggested strategies as to how to encourage IDF values into a similar range across replicas? Upayavira

Re: Solr dual core performance

2016-07-20 Thread Upayavira
addresses to 64bit, and consequently until you reach the upper bound, you will see no benefit - or worse, you'll see worse memory behaviour as you'll effectively have less available. Upayavira On Tue, 19 Jul 2016, at 08:31 PM, Erick Erickson wrote: > I strongly suspect you're not getting &q

Re: stateless solr ?

2016-07-04 Thread Upayavira
What do you mean by a "transition"? Can you configure a sidekick container within your orchestrator? Have a sidekick always run alongside your SolrCloud nodes? In which case, this would be an app that does the calling of the API for you. Upayavira On Mon, 4 Jul 2016, at 08:53 PM, St

Re: stateless solr ?

2016-07-04 Thread Upayavira
know if this is interesting to you. If so, I'll post it here when I'm done with it. Upayavira On Mon, 4 Jul 2016, at 02:46 PM, Lorenzo Fundaró wrote: > Hello guys, > > I am trying to run Solr on my infrastructure using docker containers and > Mesos. My problem is that I don't h

Re: Solr update/csv

2016-06-19 Thread Upayavira
Don't forget you can set a default value in the field definition in your schema. Upayavira On Sun, 19 Jun 2016, at 03:21 PM, Alexandre Rafalovitch wrote: > All the parameters are here: > https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Ha

Re: Scoring changes between 4.10 and 5.5

2016-06-10 Thread Upayavira
Tracked it down to this ticket: https://issues.apache.org/jira/browse/LUCENE-6590 which changed the implementation of normalize() in org.apache.lucene.search.similarities.TFIDFSimilarity. I've asked for comment on that ticket. Upayavira On Fri, 10 Jun 2016, at 01:39 AM, Ahmet Arslan wrote

Re: Solutions for Multi-word Synonyms

2016-06-09 Thread Upayavira
Here's a recently created ticket that covers this issue: https://issues.apache.org/jira/browse/SOLR-9185 Let's hope we see some traction on it soon, as many people suffer from this issue. Upayavira On Thu, 9 Jun 2016, at 09:10 PM, MaryJo Sminkey wrote: > On Thu, Jun 9, 2016 at 1:50 PM,

Scoring changes between 4.10 and 5.5

2016-06-09 Thread Upayavira
.10 and 5.5? Thanks! Upayavira 4.10 score "2937439": { "match": true, "value": 5.5993805, "description": "weight(description:obama in 394012) [DefaultSimilarity],

Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread Upayavira
, and will get you into trouble (e.g. like this), so I'd suggest you just start up a Solr as described in all of the tutorials, and use it the normal way. Upayavira On Thu, 9 Jun 2016, at 01:36 PM, SRINI SOLR wrote: > Hi Upayavira / Team - > Can you please explain in-detail - how to do the

Re: Sorl 4.3.1 - Does not load the new data using the Java application

2016-06-09 Thread Upayavira
Are you executing a commit? You must commit before your content becomes visible. Upayavira On Thu, 9 Jun 2016, at 11:13 AM, SRINI SOLR wrote: > Hi Team - > Can you please help me out on the below issue ... > > We are using the Solr 4.3.1 version. > > Integrated So

Re: Solr 5.4 Transaction

2016-06-07 Thread Upayavira
the DB to Solr). Upayavira On Tue, 7 Jun 2016, at 10:52 AM, Vincenzo D'Amore wrote: > Hi Pithon, > > I have to state beforehand that I worked with transactions on Solr 4.8.1, > so I'm not sure the transactions are changed in Solr over time. > And, I have to add, the transactions supp

Re: Can a DocTransformer access the whole results tree?

2016-06-06 Thread Upayavira
:-) On Sat, 4 Jun 2016, at 06:50 PM, Mikhail Khludnev wrote: > I'm sorry for thinking sooo slow. > > On Sat, Jun 4, 2016 at 7:19 PM, Upayavira <u...@odoko.co.uk> wrote: > > > Ahhh, seen it now in your SubQueryAugmenterFactory, via the threadLocal. > > Somewhat scar

Re: Can a DocTransformer access the whole results tree?

2016-06-04 Thread Upayavira
Ahhh, seen it now in your SubQueryAugmenterFactory, via the threadLocal. Somewhat scary code, but I think I can work with it! Thanks! Upayavira On Sat, 4 Jun 2016, at 10:30 AM, Mikhail Khludnev wrote: > Had you check > https://lucene.apache.org/solr/6_0_0/solr-core/org/apache/solr/r

Re: Can a DocTransformer access the whole results tree?

2016-05-31 Thread Upayavira
I was always under the impression that a search component couldn't modify the output of a previous search component. If it can, then the highlight component could add its results to the output of the query component, and we're done. Upayavira (who sees the confusion on people's faces often when

Re: Can a DocTransformer access the whole results tree?

2016-05-27 Thread Upayavira
can retrieve the "highlighting" element. Make sense? On Fri, 27 May 2016, at 02:45 PM, Mikhail Khludnev wrote: > Upayavira, > > It's not clear what do you mean in "results themselves", perhaps you mean > SolrDocuments ? > > public abstract class Result

Re: Can a DocTransformer access the whole results tree?

2016-05-27 Thread Upayavira
quest getRequest(); > > On Thu, May 26, 2016 at 11:25 PM, Upayavira <u...@odoko.co.uk> wrote: > > > Hi Mikhail, > > > > Is there really? If I look at ResultContext, I see it is an abstract > > class, completed by BasicResultContext. I don't see any contex

Re: Can a DocTransformer access the whole results tree?

2016-05-26 Thread Upayavira
are suggesting? Upayavira On Thu, 26 May 2016, at 06:28 PM, Mikhail Khludnev wrote: > Hello, > > There is a protected ResultContext field named context. > > On Thu, May 26, 2016 at 5:31 PM, Upayavira <u...@odoko.co.uk> wrote: > > > Looking at the code for a s

Can a DocTransformer access the whole results tree?

2016-05-26 Thread Upayavira
something? Upayavira

Re: join and faceting

2016-05-26 Thread Upayavira
On Thu, 26 May 2016, at 01:02 PM, Zaccheo Bagnati wrote: > Hi all, > I have a SOLR core containing documents: > document (id, type, text) > and a core containing annotations (each document has 0 or more > annotations): > annotation (id, document_id, user, text) > > I can filter annotations on

Re: Same origin policy for Apache Solr 5.5

2016-04-04 Thread Upayavira
Why would you want to do this? On Sun, 3 Apr 2016, at 04:15 AM, Aditya Desai wrote: > Hello SOLR Experts > > I am interested to know if SOLR 5.5 supports Same Origin Policy. I am > trying to read the data from http://localhost:8984/Solr_1/my/directory1 > and > display it on UI on

Re: publish solr on galsshfish server

2016-03-19 Thread Upayavira
that it works with a specific container. Think of Solr much like you would any other app such as Mysql or Mongo. You just install the app, not making it depend upon any other 'container'. Upayavira On Thu, 17 Mar 2016, at 09:54 AM, Adel Mohamed Khalifa wrote: > Hello All, > > What is the re

Re: Why is multiplicative boost prefered over additive?

2016-03-19 Thread Upayavira
no effect on the score, whereas a boost of 1 doubles the score. If you use plain multiplicative here, a boost of 0 wipes out the score entirely, which can have nasty effects (it has, at least, for me). Upayavira On Thu, 17 Mar 2016, at 06:58 PM, Walter Underwood wrote: > Think about us

Re: from zookeper embedded to standalone

2016-03-15 Thread Upayavira
. Upayavira On Tue, 15 Mar 2016, at 09:29 PM, Erick Erickson wrote: > Hmmm, I don't think anyone's really documented this as the > supposition is that one would only run embedded for sandboxes > and set up an external ensemble "for real". > > So, with the caveat that I

Re: solr & docker in production

2016-03-14 Thread Upayavira
be misled into installing Solr alongside lots of other things. Even if the only thing that gets put onto a node is a Docker install, then a Solr Docker image, it is *still* way easier to do than anything else I've tried and still very worth it. Upayavira (who doesn't, yet, have Dockerised Solr

Re: Sending text into a number field

2016-03-11 Thread Upayavira
any info! If you really must do that on the Solr side, I'd suggest you try doing it in an UpdateProcessor. You can either code these in Java, or in a scripting language with the StatelessScriptUpdateProcessor. You could strip out all of the non-numeric characters before they get to the index. Upayavira

Re: timeAllowed

2016-03-11 Thread Upayavira
The screenshots didn't come through. Can you paste text into email? The query URL is the most important thing. Thx On Fri, 11 Mar 2016, at 02:00 PM, Anil wrote: > HI Upayavira, > > Thanks for your response. Following are the screenshots of the same > query with and without par

Re: timeAllowed

2016-03-11 Thread Upayavira
Show us the query URL. It would seem like your timeallowed isn't taking effect. Upayavira On Fri, 11 Mar 2016, at 12:48 PM, Anil wrote: > Thank you. > > in my test, i have timeallowed 10 ms. response has no partial results (no > partial flag in the response header) and Qtime i

Re: timeAllowed

2016-03-11 Thread Upayavira
receive its information. Upayavira

Re: Separating cores from Solr home

2016-03-03 Thread Upayavira
, and solr_home becomes purely about data alone. Does that work? Upayavira On Thu, Mar 3, 2016, at 11:58 AM, Tom Evans wrote: > Hmm, I've worked around this by setting the directory where the > indexes should live to be the actual solr home, and symlink the files > from the curren

Re: Facet Filter

2016-02-18 Thread Upayavira
facet.contains= Beware that it is relatively new, so will only be in the latest few Solr releases. I think this was it [1], which suggests it is in 5.1+ Upayavira [1] https://issues.apache.org/jira/browse/SOLR-1387 On Thu, Feb 18, 2016, at 10:38 AM, Anil wrote: > HI , > >

Re: Why is my index size going up (or: why it was smaller)?

2016-02-15 Thread Upayavira
deleted or not) for your index. I bet one will be 2x the other. Upayavira On Mon, Feb 15, 2016, at 08:12 PM, Steven White wrote: > Hi folks, > > I'm fixing code that I noticed to have a defect. My expectation was that > once I make the fix, the index size will be smaller but i

Re: Solr architecture

2016-02-11 Thread Upayavira
things because when you start to work at that scale, the implementation details behind Lucene really start to matter and impact upon your ability to succeed. I'd suggest that what you are undertaking can certainly be done, but is a substantial project. Upayavira On Wed, Feb 10, 2016, at 09:48 PM

Re: optimize requests that fetch 1000 rows

2016-02-11 Thread Upayavira
but it is intended for getting larger amounts of data out of a Solr index. Upayavira

Re: Solr architecture

2016-02-09 Thread Upayavira
. How would you later use this data, and what advantage is there to storing it in Solr? Upayavira On Tue, Feb 9, 2016, at 03:40 PM, Mark Robinson wrote: > Hi, > Thanks for all your suggestions. I took some time to get the details to > be > more accurate. Please find what I have gather

Re: replicate indexing to second site

2016-02-09 Thread Upayavira
to identify/manage that. Upayavira On Tue, Feb 9, 2016, at 08:43 PM, tedsolr wrote: > I have a Solr Cloud cluster (v5.2.1) using a Zookeeper ensemble in my > primary > data center. I am now trying to plan for disaster recovery with an > available > warm site. I have read (many time

Re: Tutorial or Code Samples to explain how to Write Solr Plugins

2016-02-03 Thread Upayavira
Not a tutorial as such, but here's some simple infrastructure for building Solr components alongside Solr: https://github.com/upayavira/custom-solr-components I suspect you're past that stage already though. Upayavira On Wed, Feb 3, 2016, at 04:45 PM, Binoy Dalal wrote: > Here's a cou

Re: URI is too long

2016-02-01 Thread Upayavira
accepting a larger query). Upayavira On Mon, Feb 1, 2016, at 11:05 AM, Midas A wrote: > Is there any drawback of POST request and why we prefer GET. > > On Mon, Feb 1, 2016 at 1:08 PM, Salman Ansari <salman.rah...@gmail.com> > wrote: > > > Cool. I would give POST a try

Re: MLT Component only returns ID and score

2016-01-31 Thread Upayavira
Try the MLT query parser, which is a much newer way of doing this. Perhaps it will work better for you. Upayavira On Sun, Jan 31, 2016, at 06:31 PM, Robert Brown wrote: > Hi, > > I've had to switch to using the MLT component, rather than the handler, > since I'm running on So

Re: Field Size per document in Solr

2016-01-05 Thread Upayavira
The field is not stored in a discrete place, rather it is mixed up with all other field/document data. Therefore, I would suggest that attempting to discern the disk space consumed by a single field would be a futile endeavour. Upayavira On Tue, Jan 5, 2016, at 12:04 PM, KNitin wrote: > I w

Re: how to search miilions of record in solr query

2016-01-04 Thread Upayavira
This is not a use-case to which Lucene lends itself. However, if you must, I would try the terms query parser, which I believe is used like this: {!terms f=id}2,3,6,7 Upayavira On Mon, Jan 4, 2016, at 10:41 AM, Mugeesh Husain wrote: > hi, > > I have a requirement to search ID field va

Re: how to search miilions of record in solr query

2016-01-04 Thread Upayavira
you search against multiple terms, Lucene needs to merge those into a definitive list of matching documents, and for large numbers of terms, that can be costly. Upayavira On Mon, Jan 4, 2016, at 04:29 PM, Erick Erickson wrote: > Best of luck with that ;). 250ms isn't bad at all for "s

Re: Field Size per document in Solr

2016-01-04 Thread Upayavira
Solr does store the term positions, but you won't find it easy to extract them, as they are stored against terms not fields. Your best bet is to index field lengths into Solr alongside the field values. You could use an UpdateProcessor to do this if you want to do it in Solr. Upayavira On Tue

Re: Text field size

2016-01-02 Thread Upayavira
Ask yourself what you want out of the index, how you want to query it, then the way to structure your index will become more clear. What sort of queries do you need to execute? Upayavira On Sat, Jan 2, 2016, at 01:30 PM, Vincenzo D'Amore wrote: > Hi All, > > Recently I have starte

Re: Issue with if() statement

2016-01-02 Thread Upayavira
Hrmph. I've got an Ant based codebase for building custom components against Solr. I've been asked on numerous occasions to publish this codebase. It is now at: https://github.com/upayavira/custom-solr-components There's no sample code in there yet. I'll see if I can stick one in there now

Re: Issue with if() statement

2016-01-01 Thread Upayavira
based upon that. With some coding, you could probably get that to be a single request to Solr, but it is going to remain two queries against the index. Upayavira On Fri, Jan 1, 2016, at 09:07 PM, William Bell wrote: > Example. > > http://localhost:8983/solr/providersearch/select?wt=

Re: Issue with if() statement

2016-01-01 Thread Upayavira
, or you could write your own - they're not that hard to create. Or, you could create a search component that operates before the QueryComponent does. A simple queryparser of your own would seem like a pretty lightweight thing - probably 20 lines of code or less. Upayavira On Fri, Jan 1, 2016, at 09

Re: Issue with if() statement

2016-01-01 Thread Upayavira
, the query() function does *not* do a query, it just says "what would this document score for this query?" Can you describe in English what you are trying to do? Upayavira

Re: Maximum number of values in a Solr multi-valued field

2015-12-30 Thread Upayavira
to calculate the facet counts for this field, you will need to increment the bucket for every value for your field for each document, and in such a case you can expect performance to collapse. Upayavira On Wed, Dec 30, 2015, at 10:50 AM, Vishnu perumal wrote: > Hi, > > I am using SOLR 4.1

Re: post.jar with security.json

2015-12-29 Thread Upayavira
not familiar with Java, get someone else to do it). Unfortunately, that is the nature of open source - there's so many such features that *could* be extended, they tend to get the feature when someone actually needs it. Upayavira On Tue, Dec 29, 2015, at 06:14 PM, Oakley, Craig (NIH/NLM/NCBI) [C] wrote

Re: mlt and document boost

2015-12-29 Thread Upayavira
That might work, but this might be clearer: q={!boost b=recip(dist(2, 0, star_rating, 0, 3),1,10,10) v=$mlt}& mlt={!mlt qf=name,description,facilities,resort,region,dest_level_2 mintf=1 mindf=3 maxqt=100}43083 Upayavira On Tue, Dec 29, 2015, at 12:00 PM, Alessandro Benedetti wrote: > I

Re: ( no servers hosting shard ) very strange

2015-12-27 Thread Upayavira
Firstly, don't use an embedded Zookeeper for anything other than experimentation, Set up your own zookeeper ensemble, otherwise your one box doing GC will take down all of your solr instances. On Fri, Dec 25, 2015, at 01:24 PM, Binoy Dalal wrote: > Hi Elvis, > We're having a similar problem with

Re: Limit fields returned in solr based on content

2015-12-24 Thread Upayavira
of course, require some Java coding. Upayavira On Thu, Dec 24, 2015, at 09:17 PM, Jamie Johnson wrote: > Sorry hit send too early > > Is there a mechanism in solr/lucene that allows customization of the > fields > returned that would have access to the field content and payload? > On De

Re: mlt and document boost

2015-12-24 Thread Upayavira
parsers and such for free. Upayavira On Thu, Dec 24, 2015, at 07:37 PM, Tim Hearn wrote: > One workaround is to use the 'important terms' feature to grab the query > generated by the MLT handler, then parse that list into your own solr > query > to use through a standard search handle

Re: mlt and document boost

2015-12-24 Thread Upayavira
Which morelikethis are you using? Handler, SearchComponent or QueryParser? You should be a able to wrap the mlt query parser with the boost query parser with no problem. Upayavira On Thu, Dec 24, 2015, at 05:18 AM, Binoy Dalal wrote: > Have you tried applying the boosts to individual fie

Re: Unable to extract images content (OCR) from PDF files using Solr

2015-12-23 Thread Upayavira
, and, as you are seeing, have far less control over what happens inside than you would if Tika was consumed by your own application. Upayavira On Wed, Dec 23, 2015, at 03:11 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > I'm also facing the same issue as what you faced 2 months back,

Re: TPS with Solr Cloud

2015-12-21 Thread Upayavira
You add shards to reduce response times. If your responses are too slow for 1 shard, try it with three. Skip two for reasons stated above. Upayavira On Mon, Dec 21, 2015, at 04:27 PM, Erick Erickson wrote: > 8,000 TPS almost certainly means you're firing the same (or > same few) request

Re: facet component and uninverted field

2015-12-20 Thread Upayavira
ound that already. As to deprecation, these sort of things in my experience don't get deprecated as such, we just find that one gets better than the other - the better it gets, the more adoption it sees. Upayavira

Re: Jetty Server in Production

2015-12-18 Thread Upayavira
u mean "service"? Upayavira

Re: Admin Optimize

2015-12-18 Thread Upayavira
I did not deliberately remove that button, so if it is missing, it could be a bug. Is it missing on the old, or new, or both UIs? Thanks! Upayavira On Fri, Dec 18, 2015, at 07:08 PM, Erick Erickson wrote: > Right, the whole optimize thing is in a bit of a state of flux. For > i

Re: Jetty Server in Production

2015-12-18 Thread Upayavira
pt) That is up to you. Use the inbuilt Jetty, along with the bin/solr script. The init script installer is a convenience tool should you choose to use it. Upayavira

Re: Load-balancing Solr instances

2015-12-18 Thread Upayavira
failure after a 200ms wait, and requests always succeeded whenever I killed a node. Load balancers I have worked with take 20s or so to spot a down server. Upayavira On Fri, Dec 18, 2015, at 03:37 PM, Erick Erickson wrote: > You're over-complicating it, the complexity is already in S

Re: Solr High Availability

2015-12-16 Thread Upayavira
If you have two replicas (one leader/one replica) for each shard of your collection, and you ensure that no two replicas are on the same node, and you have three independent Zookeeper nodes, then yes, you should have HA. Upayavira On Wed, Dec 16, 2015, at 05:48 PM, Peter Tan wrote: > Hi J

Re: query to get parents without childs

2015-12-16 Thread Upayavira
, even using the Javascript ScriptUpdateProcessor. Probably simpler though in the code that pushes the docs to Solr. Upayavira On Wed, Dec 16, 2015, at 09:05 PM, Novin Novin wrote: > Hi Scott, > > Actually, it is not multi value field. it is nested document. > > Novin > > On 1

Re: Is DIH going to be removed from Solr future versions?

2015-12-15 Thread Upayavira
ally wrong, and also problematic in a SolrCloud world. Taking the DIH codebase and running it *outside* Solr you get the best of DIH without the same set of issues. Upayavira On Tue, Dec 15, 2015, at 05:47 AM, Anil Cherian wrote: > Dear Team, > > I use DIH extensively and even wrote my own

Re: Partial sentence match with block join

2015-12-15 Thread Upayavira
ore better, then add a phrase version boosted: "apple computer company"^2 (apple computer company) Upayavira On Tue, Dec 15, 2015, at 07:35 AM, Yangrui Guo wrote: > Hello > > I've been using 5.3.1. I would like to enable this feature: when user > enters a query, the

Re: Security Problems

2015-12-15 Thread Upayavira
I concur - this makes sense. On Tue, Dec 15, 2015, at 01:39 PM, Jan Høydahl wrote: > Yes, that’s why I believe it should be: > 1) if only authentication is enabled, all users must authenticate and all > authenticated users can do anything. > 2) if authz is enabled, then all users must still

Re: Partial sentence match with block join

2015-12-15 Thread Upayavira
Cab you give an example? I cannot understand what you mean from your description below. Thx! On Wed, Dec 16, 2015, at 12:42 AM, Yangrui Guo wrote: > This will be a very common situation. Amazon and Google now display > keywords missing in the document. However it seems that Solr parent-child >

[ANNOUNCE] Apache Solr 5.4.0 released

2015-12-14 Thread Upayavira
14 December 2015, Apache Solr™ 5.4 available Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, rich document (e.g.,

Re: SOLR-7996

2015-12-14 Thread Upayavira
it, Jamie. Make a proposal for what you think could work. Post a patch that demonstrates it. I suspect you'll be more likely to get more traction that way. Also, copy the content of that link into the description of the ticket so people don't need to leave the ticket to get its full context. Upayavira

Re: capacity of storage a single core

2015-12-08 Thread Upayavira
I understood that on later Solrs, those join issues have been (partially) resolved. So long as your joined-to collection is replicated across every box, you should be good. Upayavira On Tue, Dec 8, 2015, at 04:17 PM, Mugeesh Husain wrote: > Thanks Toke Eskildsen, > > Actually i nee

Re: Solr 5: Schema.xml vs. Managed Schema - which is advisable?

2015-12-04 Thread Upayavira
This is exactly right. Schemaless can be a great discovery tool, but not something it is useful to use in production, I'd say. On Fri, Dec 4, 2015, at 08:21 PM, Davis, Daniel (NIH/NLM) [C] wrote: > So, I actually went to an Elastic Search one day conference. One person > spoke about having to

Re: Solr 5: Schema.xml vs. Managed Schema - which is advisable?

2015-12-03 Thread Upayavira
you think about the schema. The managed schema has been there for ages, but now the UI has support for it in the schema tab. Being able to really easily create and remove fields certainly does things to my brain because it is just so easy. Upayavira On Thu, Dec 3, 2015, at 08:35 PM, Erick Erickson

Re: Collection Name is different than what i specify in API

2015-12-03 Thread Upayavira
y "core" centric so that you can > see the details of every replica, but if you look at the "Cloud" screen > in > the UI it will in fact show you the collections and what cores make up > that collection... > > https://cwiki.apache.org/confluence/display/solr/Cloud+Screens The UI from 5.4 will fix this - it will show separate drop downs for collections and cores, which I hope will make this much clearer. Upayavira

Re: Create Collection Admin Request - unable to specify collection configName

2015-12-01 Thread Upayavira
bet you! Upayavira On Tue, Dec 1, 2015, at 08:04 PM, Kelly, Frank wrote: > Context: Solr 5.3.1 with ZooKeeper 3.4.6 (SolrCloud) > > Via the REST APU I am trying to create a collection and tie it to a > configuration I have loaded into ZooKeeper > > Here are the configs loa

Re: Why do documents without the search query term rank highest

2015-12-01 Thread Upayavira
of this community. Upayavira On Tue, Dec 1, 2015, at 04:36 PM, Scotten Stuart wrote: > Hi All, > > I hope this is the way to ask a question - please guide me if there is a > different protocol > > I have a question about results ranking for Solr V4.2 in combination with >

Re: Create Collection Admin Request - unable to specify collection configName

2015-12-01 Thread Upayavira
;>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> On 12/1/15, 5:10 PM, "Erick Erickson" <erickerick...@gmail.com> wrote: > >>>>> > >>>>> &

Re: Migrating from cores to collections

2015-12-01 Thread Upayavira
this, you point your client at Zookeeper, not Solr. It works out the location of the correct Solr to hit based upon the information in ZK. Upayavira On Tue, Dec 1, 2015, at 06:29 AM, William Bell wrote: > ok. > > What about using DIH handler? Does it index in a SolrCloud setup ? Or ho

Re: SolrCloud Shard + Replica on Multiple servers with SolrCloud

2015-12-01 Thread Upayavira
tting up a 3 shard 3 server > cluster? I guess, if you have three shards, then you want one shard per server obviously. You could just have a replica of each shard on each of your servers, that way you have 9 cores in total, three per node. But that wouldn't make straight-forward use of your to SSDs per instance. Upayavira

Re: Difference in query behavior.

2015-11-30 Thread Upayavira
of the queries that Solr gives to you, along with the JSON/XML that wraps them? Upayavira On Mon, Nov 30, 2015, at 10:45 AM, Modassar Ather wrote: > Hi, > > I have a query title:(solr lucene api). The mm is set to 100% using q.op > as > AND. > When the query is executed it

Re: Migrating from cores to collections

2015-11-30 Thread Upayavira
traffic. 7. Faceting should work just fine (as you describe) across shards. I would check specifically on newer faceting features though before assuming anything. 8. facet.sort+counts, have you tried it? 9. I would consider this to be a more up-to-date place to go: https://cwiki.apache.org/confluence/display/solr/SolrCloud Upayavira

Re: SolrCloud Shard + Replica on Multiple servers with SolrCloud

2015-11-27 Thread Upayavira
? Upayavira On Fri, Nov 27, 2015, at 10:23 AM, Adrian Liew wrote: > Hi all, > > I am trying to figure out how to setup 3 shard 3 server setup with a > replication factor of 2 with SolrCloud 5.3.0. > > In particular trying to follow this setup described in this blog: > http://lucidw

Re: Sold 4.10.4 dropping index on shutdown

2015-11-23 Thread Upayavira
files, then shut down. What changes have you seen? Did the commit 'take' and cause the files to be written? Upayavira On Mon, Nov 23, 2015, at 10:25 AM, Oliver Schrenk wrote: > Yes. Hard commit using SolrJ 4.10.4 client with UpdateResponse.commit() > which defaults to waitFlus

Re: Security Problems

2015-11-22 Thread Upayavira
framework interacting with it, e.g. having an admin-ui (or just a UI) role covering the whole UI. More sophisticated UIs are, for sure, possible, but I for one haven't thought that far yet. Upayavira On Sat, Nov 21, 2015, at 09:42 PM, Don Bosco Durai wrote: > In traditional web interface applicat

Re: Upgrading from 4.x to 5.x

2015-11-19 Thread Upayavira
running as before You can point Solr 5 at an existing directory (SOLR_HOME) that contains your index and configs with the -s parameter: bin/solr start -s /path/to/old/solr_home Upayavira

Re: Security Problems

2015-11-18 Thread Upayavira
I'm very happy for the admin UI to be served another way - i.e. not direct from Jetty, if that makes the task of securing it easier. Perhaps a request handler specifically for UI resources which would make it possible to secure it all in a more straight-forward way? Upayavira On Wed, Nov 18

Re: Security Problems

2015-11-18 Thread Upayavira
too. Upayavira On Wed, Nov 18, 2015, at 07:46 AM, Noble Paul wrote: > The authentication plugin is not expensive if you are talking in the > context of admin UI. After all it is used not like 100s of requests > per second. > > The simplest solution would be > > provide a

Re: Jetty Vs Tomcat (Performance issue)

2015-11-16 Thread Upayavira
Just to be sure, are you installing Solr inside a different Jetty, or using the Jetty that comes with Solr? You would be expected to use the one installed and managed by Solr. Upayavira On Mon, Nov 16, 2015, at 11:58 AM, Behzad Qureshi wrote: > Hi All, > > I am using Tomcat server

Re: fl=value equals?

2015-11-12 Thread Upayavira
Okay, makes sense. As to your question - making a new ValueSourceParser that handles 'equals' sounds pretty straight-forward. If it helps, I have somewhere an Ant project that will unpack Solr and compile custom components against it. I could push that to github or something. Upayavira On Thu

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Upayavira
Erick, I saw mention of openSearcher for SolrJ, so I looked in the source of the UpdateRequestHandler, and there is no mention of openSearcher in there that I can see, for XML, JSON or SolrJ requests. So my take is that this isn't possible right now :-( Upayavira On Wed, Nov 11, 2015, at 02:53

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Upayavira
away from finding it. > Most of the constants you see in UpdateRequestHandler look like dead code > that should be removed. Fair enough. Upayavira

Re: fl=value equals?

2015-11-11 Thread Upayavira
I concur with Jan - what does b= do? Also asking, how did you identify that it worked? Upayavira On Wed, Nov 11, 2015, at 02:58 AM, William Bell wrote: > I was able to get it to work kinda with a map(). > > http://localhost:8983/solr/select?q=*:*=1= > <http://localhost:898

Re: Need help to create Solr committer account / email address.

2015-11-11 Thread Upayavira
t making contributions via JIRA, and after a while, if you keep that up, your efforts will be noticed and you will be invited to participate as a committer. Upayavira

Re: Security Problems

2015-11-10 Thread Upayavira
, requiring credentials to see the UI would be more conventional, and therefore lead to less confusion. Is it possible for us to protect the UI static files, only for the sake of user experience, rather than security? Upayavira On Tue, Nov 10, 2015, at 12:01 PM, Noble Paul wrote: > The admin UI is a bu

Re: Security Problems

2015-11-10 Thread Upayavira
Is the authentication plugin that expensive? I can help by minifying the UI down to a smaller number of CSS/JS/etc files :-) It may be overkill, but it would also give better experience. And isn't that what most applications do? Check authentication tokens on every request? Upayavira On Tue

Re: Security Problems

2015-11-10 Thread Upayavira
Or, rather than touch Jetty, you could simply use iptables or such firewall as is provided by your operating system. Upayavira On Tue, Nov 10, 2015, at 08:08 AM, Vijay Mhaskar - 2 wrote: > Or you can try configuring IP based access control mechanism using > IPAccessHandler in jetty.

Re: The time that init.d script waits before shutdown should be configurable

2015-11-10 Thread Upayavira
change? Harder than just updating a shell script, I know, but could be very useful. Upayavira

Re: The time that init.d script waits before shutdown should be configurable

2015-11-09 Thread Upayavira
Yago, I think a JIRA has been raised for this. I'd encourage you to hunt it down and make a patch. Upayavira On Mon, Nov 9, 2015, at 03:09 PM, Yago Riveiro wrote: > The time that init.d script waits before shutdown should be configurable > > The 5 seconds is not enough to all my shar

  1   2   3   4   5   6   7   8   9   >