Re: Problems getting solr clustering to work

2013-01-10 Thread Upayavira
Is the registration of the search component failing earlier in your logs? Upayavira On Thu, Jan 10, 2013, at 04:23 PM, obi240 wrote: > I recently started working with the clustering plugin on solr 4. > I assigned a requsthandler to clustering: /clustering and got the > following

Re: SolrCloud removing shard (how to not loose data)

2013-01-10 Thread Upayavira
Why do you want to unload one shard of a collection? Doing so would render your collection incomplete and therefore non-functional. It'd help to understand a bit more what you're trying to achieve. Upayavira On Thu, Jan 10, 2013, at 10:17 AM, mizayah wrote: > Lets say i got one coll

Re: SolrCloud large transaction logs

2013-01-10 Thread Upayavira
rwise? Thanks! Upayavira On Thu, Jan 10, 2013, at 04:18 PM, Mark Miller wrote: > There is no need to open a Searcher because you are controlling > visibility through the faster 'soft' commit. That will reopen the reader > from the IndexWriter. Because of that, there is no rea

Re: SolrCloud large transaction logs

2013-01-10 Thread Upayavira
t relevant) Upayavira On Thu, Jan 10, 2013, at 02:18 PM, Mark Miller wrote: > Setup hard auto commit with openSeacher=false. I would do it at least > once a minute. Don't worry about the commit being out of sync on the > different nodes - you will be using soft commits for visibility. The har

Re: Pause and resume indexing on SolR 4 for backups

2013-01-09 Thread Upayavira
f with the CoreAdminHandler, I reckon. Upayavira On Wed, Jan 9, 2013, at 09:27 PM, Paul Jungwirth wrote: > Yes, I agree about making sure the backups actually work, whatever the > approach. Thanks for your reply and all you've contributed to the > Solr/Lucene community. The Lucene in Action book

Re: Restore hot backup

2013-01-09 Thread Upayavira
27;re not indexing or committing to the core at the time you do this. Upayavira On Wed, Jan 9, 2013, at 01:48 PM, marotosg wrote: > Hi, > > Is possible to restore an old backup without shutting down Solr? > > Regards, > Sergio > > > > -- > View this message

Re: fieldtype for name

2013-01-09 Thread Upayavira
Try q=name:(ian paisley)&q.op=AND Does that work better for you? It would also match Ian James Paisley, but not Ian Jackson. Upayavira On Wed, Jan 9, 2013, at 01:30 PM, Michael Jones wrote: > Hi, > > My schema file is here http://pastebin.com/ArY7xVUJ > > Query (name:&#x

Re: Hotel Searches

2013-01-09 Thread Upayavira
It seems to me like you want to use result grouping by hotel. You'll have to add up the tariffs for each hotel, but that isn't hard. Upayavira On Wed, Jan 9, 2013, at 06:08 AM, Harshvardhan Ojha wrote: > Hi Alex, > > Thanks for your reply. > I saw "prices based on

Re: wildcard faceting in solr cloud

2013-01-08 Thread Upayavira
Have you uploaded a patch to JIRA??? Upayavira On Tue, Jan 8, 2013, at 07:57 PM, jmozah wrote: > Hmm. Fixed it. > > Did similar thing as SOLR-247 for distributed search. > Basically modified the FacetInfo method of the FacetComponent.java to > make it work.. :-) > > ./zah

Re: theory of sets

2013-01-07 Thread Upayavira
owing things down. Upayavira On Mon, Jan 7, 2013, at 05:18 PM, Uwe Reh wrote: > Hi Robi, > > thank you for the contribution. It's exiting to read, that your index > isn't contaminated by the number of fields. I can't exclude other > mistakes, but my first exper

Re: custom solr sort

2013-01-07 Thread Upayavira
Can you explain why you want to implement a different sort first? There may be other ways of achieving the same thing. Upayavira On Sun, Jan 6, 2013, at 01:32 AM, andy wrote: > Hi, > > Maybe this is an old thread or maybe it's different with previous one. > > I want to

Re: Migrating from Solr 3.6.1 to Solr 4

2013-01-06 Thread Upayavira
mmediately think of any reasons why using SolrCloud would require a change to your indexing (assuming you are currently indexing to a single node). But really, the best way to find out is to try it. Upayavira On Sun, Jan 6, 2013, at 01:08 AM, Jorge Luis Betancourt Gonzalez wrote: > So, from my &

Re: Migrating from Solr 3.6.1 to Solr 4

2013-01-05 Thread Upayavira
ch/index without any difficulty via the XML/HTTP interface. Your mileage may vary, but for that particular app, that is what it took. Note, 4.0 can work in a 3.x way (old style replication, etc). You don't need to use SolrCloud etc when using 4.0. Upayavira On Sat, Jan 5, 2013, at 08:20

Re: StatsComponent and query times while indexing

2013-01-04 Thread Upayavira
DIH won't make any real difference, I'd say. The work to write terms to your index still happens in either case. Upayavira On Fri, Jan 4, 2013, at 11:25 PM, Marcin Rzewucki wrote: > Thanks. I guess you're right - it's normal behaviour. Are there some > guidelines how

Re: Solr 3.6.2 or 4.0

2013-01-04 Thread Upayavira
I agree with the 'more mature' analysis, but surely you can use 4.0 in a 3.x style without greater difficulty, no? Upayavira On Fri, Jan 4, 2013, at 07:35 PM, Otis Gospodnetic wrote: > Hi, > > If you don't need to shard your index and don't need NRT search So

Re: distributed / federated search Solr

2013-01-04 Thread Upayavira
x27;d need to get scores to be roughly the same between Solr and your API, which might be prohibitively difficult. Others might have alternative ideas. Upayavira On Fri, Jan 4, 2013, at 04:37 PM, Oleg Ruchovets wrote: > Ok , thank you for the answer. > May be you can pointing me on documentat

Re: Terminology question: Core vs. Collection vs...

2013-01-04 Thread Upayavira
Using your terminology, I'd say core is a physical solr term, and index is a pysical lucene term. A collection or a shard is a logical solr term. Upayavira On Fri, Jan 4, 2013, at 06:28 PM, darren wrote: > My understanding is core is a logical solr term. Index is a physical > lucene t

Re: distributed / federated search Solr

2013-01-04 Thread Upayavira
significant, development effort. Upayavira On Fri, Jan 4, 2013, at 11:39 AM, Oleg Ruchovets wrote: > Hi , > > I am very new to solr. >We want to use solr search capabilities thru multiple data sources >We have couple data sources in house and couple of data sources > externally.

Re: Solr 3.6.2 or 4.0

2013-01-04 Thread Upayavira
to be out by the time you go into production, which will likely iron out many niggles found in 4.0. Upayavira On Fri, Jan 4, 2013, at 12:07 PM, Dikchant Sahi wrote: > As someone in the forum correctly said, if all Solr releases were > evolutionary Solr 4.0 is revolutionary. It has lots of impro

Re: Upgrading from 3.6 to 4.0

2013-01-02 Thread Upayavira
. That's what I understand, anyway. Upayavira On Wed, Jan 2, 2013, at 06:10 PM, Lance Norskog wrote: > Indexes will not work. I have not heard of an index upgrader. If you run > your 3.6 and new 4.0 Solr at the same time, you can upload all the data > with a DataI

Re: Using lucene .net & Solr at the same time

2013-01-01 Thread Upayavira
wo languages to work together, and to do so in a way that is performant, and that's likely to be a challenge. And that is a Java<->.Net thing, not a specifically Solr thing. Upayavira On Tue, Jan 1, 2013, at 09:12 PM, dafna wrote: > The code that I don't want to rewrite is the ana

Re: Viewing the Solr MoinMoin wiki offline

2013-01-01 Thread Upayavira
I have permission to provide an export. Right now I'm thinking of it being a one off dump, without the user dir. If someone wants to research how to make moin automate it, I at least promise to listen. Upayavira On Tue, Jan 1, 2013, at 08:10 AM, Alexandre Rafalovitch wrote: > That'

Re: old index not cleaned up on the slave

2012-12-31 Thread Upayavira
legitimate. Upayavira On Mon, Dec 31, 2012, at 12:55 AM, Jason wrote: > Hi, Erick > I didn't configure anything for index backup. > My ReplicationHandler configuration is below. > Other setting in solrconfig.xml is almost default. > Is there a deletion policy for replication? > I kn

Re: Filter on multiple word field of type "string" not showing any results

2012-12-31 Thread Upayavira
is achieved by a Field of type string. Upayavira On Mon, Dec 31, 2012, at 01:08 PM, Tomás Fernández Löbbe wrote: > It can't be *really* case independent. You could lowercase everything, > but > you'd see the facet value in lowercase too. If you really need to search > in >

Re: Viewing the Solr MoinMoin wiki offline

2012-12-30 Thread Upayavira
I can ask this. If folks there are okay with it, I can produce the dump, but it is unlikely to be a service rather a one off. Upayavira On Sun, Dec 30, 2012, at 06:34 AM, Otis Gospodnetic wrote: > Hi, > > Sorry, by infra I meant ASF infrastructure people. There's a mailing lis

Re: ZooKeeper ensemble behind load balancer

2012-12-29 Thread Upayavira
tains active connections to solr hosts, which is not a common scenario for load balances as I understand it. Upayavira On Fri, Dec 28, 2012, at 04:39 PM, Marcin Rzewucki wrote: > Hi, > > Does Solr need connection to all of hosts in ZK ensemble or only to one > of > them at a time

Re: Dynamic collections in SolrCloud for log indexing

2012-12-24 Thread Upayavira
Many you do a quick audit if those cores in your short term super-collections, but the net result is some names you can use to address various subsets of your total content. Upayavira (who's kids are still asleep, so no excitement yet...) On Tue, Dec 25, 2012, at 06:49 AM, Otis Gospodnetic wrot

Re: Bad performance while query pdf solr documents

2012-12-23 Thread Upayavira
You make the text field stored="false" in your schema, then reindex. Then it won't show in search results. Upayavira On Sun, Dec 23, 2012, at 09:27 AM, uwe72 wrote: > >>>your query-time fl parameter. > > means "don't return" this field? > &g

Dynamic collections in SolrCloud for log indexing

2012-12-21 Thread Upayavira
this sort of thing. Given it is logs, distributed IDF has no real bearing. Upayavira

Re: Store and retrieve an xml sequence without losing the markup

2012-12-21 Thread Upayavira
id="id_1"> <data>testing</data> </subdoc> And querying for id:UV1 gave me the output: <subdoc id="id_1"> <data>testing</data> </subdoc> <subdoc id="id_1"> <data>testing</data&g

Re: Beginner's view

2012-12-21 Thread Upayavira
Let me see how easy it is to patch this. Upayavira On Fri, Dec 21, 2012, at 12:56 PM, Erick Erickson wrote: > Nuke 'em or something. This is one of the most annoying "errors" I see. > I'm > not a new user, but every time that flashes by I have to look to see what &

Re: Solr 3.6.1

2012-12-21 Thread Upayavira
e ANDs from your query with: q.op=AND&q=exactText:"how+about" content:(tomorrow morning) Upayavira On Fri, Dec 21, 2012, at 09:37 AM, xpow wrote: > Hi, > > I have a case where i need to find the results of a query that search for > a > exact phrase + other words, fo

Re: Store and retrieve an xml sequence without losing the markup

2012-12-20 Thread Upayavira
Right, you can store it, but you can't search on it that way, and you certainly can't do complex searches that take the XML structure into account (e.g. xpath queries). Upayavira On Thu, Dec 20, 2012, at 10:22 PM, Alexandre Rafalovitch wrote: > What happens if you just supply it as

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Upayavira
You're saying that there's no chance to catch it in the middle of writing the segments file? Having said that, the segments file is pretty small, so the chance would be pretty slim. Upayavira On Thu, Dec 20, 2012, at 06:45 PM, Lance Norskog wrote: > To be clear: 1) is fine. Lucene

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Upayavira
Are you sure a commit didn't happen between? Also, a background merge might have happened. As to using a backup, you are right, just stop solr, put the snapshot into index/data, and restart. Upayavira On Thu, Dec 20, 2012, at 05:16 PM, Andy D'Arcy Jewell wrote: > On 20/12/12 13:

Re: Store and retrieve an xml sequence without losing the markup

2012-12-20 Thread Upayavira
you find an alternative way of getting there. Upayavira On Thu, Dec 20, 2012, at 02:29 PM, Modou DIA wrote: > Hi everybody, > > i'm newbie with Solr technologies but in the past i worked with lucene > and another solution similar to Solr. > I'm working with solr 4.0. I u

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Upayavira
That's neat, but wouldn't that run on every commit? How would you use it to, say, back up once a day? Upayavira On Thu, Dec 20, 2012, at 01:57 PM, Markus Jelsma wrote: > You can use the postCommit event in updateHandler to execute a task. > > -Original message-

Re: Where does schema.xml's schema/@name displays?

2012-12-20 Thread Upayavira
Personally I have never given it any attention, so I suspect it doesn't matter much. Upayavira On Thu, Dec 20, 2012, at 05:08 AM, Alexandre Rafalovitch wrote: > Hello, > > In the schema.xml, we have a name attribute on the root note. The > documentation says it is for display

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Upayavira
t, in which case I guess you could monitor your logs for the last commit, and do your backup a 10 seconds after that. Upayavira On Thu, Dec 20, 2012, at 12:44 PM, Andy D'Arcy Jewell wrote: > On 20/12/12 11:58, Upayavira wrote: > > I've never used it, but the replicati

Re: Dynamic modification of field value

2012-12-20 Thread Upayavira
Which strikes me as the right way to go. Upayavira On Thu, Dec 20, 2012, at 12:30 PM, AlexeyK wrote: > Implemented it with http://wiki.apache.org/solr/DocTransformers. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Dynamic-modifi

Re: Finding the last committed record in SOLR 4

2012-12-20 Thread Upayavira
I cannot see how SolrJ and the admin UI would return different results. Could you run exactly the same query on both and show what you get here? Upayavira On Thu, Dec 20, 2012, at 06:17 AM, Joe wrote: > I'm using SOLR 4 for an application, where I need to search the index > s

Re: Pause and resume indexing on SolR 4 for backups

2012-12-20 Thread Upayavira
not the files themselves, and given files in a lucene index never change (they are only ever deleted or replaced), this works as a good copy technique for backing up. Upayavira On Thu, Dec 20, 2012, at 10:34 AM, Markus Jelsma wrote: > You can use the replication handler to fetch a complete snaps

Re: XsltUpdateRequestHandler - HTTP ERROR 404

2012-12-18 Thread Upayavira
Yay, someone actually using it... Are you using 4.0? In 4.0 it has been merged into a single UpdateRequestHandler now. As I understand it, if you post XML to http://localhost:8983/solr/update and provide a tr parameter, it will do the same thing as the XsltUpdateRequestHandler did. Upayavira On

Re: Delete by Query not working properly

2012-12-18 Thread Upayavira
#x27;s what it looks like anyhow. Upayavira On Tue, Dec 18, 2012, at 06:03 AM, Dixline wrote: > Hi, > > I've deleted a document using > http://localhost:8983/solr/update?stream.body= > skills_s:Perl and the committed the > delete > also. Again if search using q=perl i'm

Re: Beginner's view

2012-12-18 Thread Upayavira
blems (exception angst for admins) than benefit. Upayavira On Tue, Dec 18, 2012, at 09:34 AM, Alexandre Rafalovitch wrote: > The new UI interface does use them (at least some of them) and puts them > into their own section. Unfortunately, the CSS reset does something funny > to their styles (e.g.

Re: "order" question on solr multi value field

2012-12-18 Thread Upayavira
they are found. Solr (or Lucene rather) once a document has been written, will never rewrite it, so it seems perfectly reasonable to expect stored multi-valued fields to return in the same order. When it comes to indexed terms, that's a different matter. Upayavira On Tue, Dec 18, 2012, at 07:

Re: Beginner's view

2012-12-18 Thread Upayavira
Or stop including those files. They were an option in the old admin UI that 'had' to be propogated through to the new one. But does anyone actually use them? Upayavira On Tue, Dec 18, 2012, at 07:19 AM, Shawn Heisey wrote: > On 12/17/2012 11:55 PM, Alexandre Rafalovitch wro

Re: SolrCloud with Near Realtime Search: buildOnOptimize in IndexBasedSpellChecker

2012-12-17 Thread Upayavira
Note with 4.0 you don't need to build a spellcheck index. Spellchecking can happen from your main index (unless you are providing your own dictionary). Upayavira On Mon, Dec 17, 2012, at 12:36 PM, Artyom wrote: > Thank you, Tomás. > > This wiki > http://wiki.apache.org/solr/Up

Re: Faceted result , based on words specified in search query.

2012-12-17 Thread Upayavira
forward to create a facet that shows which of them matched. If you want combinations, you should do that at display time. Upayavira On Mon, Dec 17, 2012, at 07:07 AM, veena rani wrote: > Hi, > >If searched for three words in query. > > > Eg: > > Sony, Samsung,LG. &g

Re: if I only need exact search, does frequency/score matter?

2012-12-16 Thread Upayavira
The default sort by score will only trigger if there is in fact a score - some searches result in a constant score, meaning documents come back in index order. Upayavira On Fri, Dec 14, 2012, at 02:13 PM, Bill Au wrote: > If your exact search returns more than one result, then by default t

Re: Dedup component

2012-12-16 Thread Upayavira
No, not that I am aware of, you would have to do it in your application. Upayavira On Sun, Dec 16, 2012, at 12:55 AM, Jorge Luis Betancourt Gonzalez wrote: > Exist any similar approach that I could use in solr 3.6.1 or should I add > this logic to my application? > > - Mens

Re: Dedup component

2012-12-15 Thread Upayavira
Nope, it is a Solr 4.0 thing. In order for it to work, you need to store every field, as what it does behind the scenes is retrieve the stored fields, rebuilds the document, and then posts the whole document back. Upayavira On Sat, Dec 15, 2012, at 04:52 PM, Jorge Luis Betancourt Gonzalez wrote

Re: Dedup component

2012-12-15 Thread Upayavira
t;, "copies_i" : { "inc" : 1}, "cat" : { "add" : "fantasy"}, "ISBN_s": { "set" : "0-380-97365-0"} "remove_s" : { "set" : null } } ]' /* example stolen from Yonik's ApacheCon talk

Re: How to change Solr UI

2012-12-14 Thread Upayavira
ocity is just a templating language and is no way at fault. E.g. I remember a really effective use of XSLT to render RSS direct out of Solr - worked exceptionally well. Upayavira On Fri, Dec 14, 2012, at 05:15 PM, Erik Hatcher wrote: > There's absolutely nothing inherently wrong with u

Re: Solr PHP client

2012-12-14 Thread Upayavira
Can you access your Solr server via a browser? I bet it is something simple like a URL being wrong. Upayavira On Fri, Dec 14, 2012, at 09:37 AM, Romita Saha wrote: > Hi I am using Solr-PHP client. I am not able to ping Solr. Is their any > change that I need to make in Solr config files s

Re: Update / replication of offline indexes

2012-12-14 Thread Upayavira
tes that might exist out there, and that would simply be prohibitive. Upayavira On Fri, Dec 14, 2012, at 05:52 AM, Dikchant Sahi wrote: > Yes, we have an uniqueId defined but merge adds two documents with the > same > id. As per my understanding this is how Solr behaves. Correct me if am

Re: Can a field with defined synonym be searched without the synonym?

2012-12-12 Thread Upayavira
You can only search against terms that are stored in your index. If you have applied index time synonyms, you can't remove them at query time. You can, however, use copyField to clone an incoming field to another field that doesn't use synonyms, and search against that field instead.

Re: Solr3 and solr4 side by side in tomcat on windows

2012-12-12 Thread Upayavira
in $CATALINA_HOME/conf/Catalina/localhost/solr-example.xml, you should replace 'solr-example' with whatever you name your webapps. Upayavira On Wed, Dec 12, 2012, at 10:44 AM, Daniel Exner wrote: > Hi, > > Gian Maria Ricci - aka Alkampfer wrote: > > Hi to everyone, I&#

Re: Index sharing between multiple slaves

2012-12-11 Thread Upayavira
ere's a benefit running a slave and its master on the same same hardware. Upayavira On Tue, Dec 11, 2012, at 01:10 PM, suri wrote: > Hi, > > We are planning to setup multiple slaves to handle search loads. Some of > these slaves will be on the same physical machine. Instead of ea

Re: star searches with high page number requests taking long times

2012-12-07 Thread Upayavira
more expensive. Try it on google, they won't let you go beyond around 900 pages or such (or is it 900 results?) Upayavira On Sat, Dec 8, 2012, at 01:10 AM, Petersen, Robert wrote: > Hi guys, > > > Sometimes we get a bot crawling our search function on our retail web > sit

Re: How to change Solr UI

2012-12-07 Thread Upayavira
of your search a bit more prettily, more like a conventional search results, or at least as much like that as possible when you really don't know much about what data you're getting back. To put my money where my mouth is, I've uploaded a patch to JIRA[1] with a first pass at what I mean

Re: Solr 4 : Optimize very slow

2012-12-04 Thread Upayavira
not doing it at all and see if your index actually reaches a point where it is needed. Upayavira On Wed, Dec 5, 2012, at 12:31 AM, Otis Gospodnetic wrote: > Hi, > > You should search the ML archives for : optimize wunder Erick Otis :) > > Is WAS really AWS? If so, if these are ne

Re: How to change Solr UI

2012-12-04 Thread Upayavira
But there's value in having something packaged within Solr itself, for demo purposes. That would I suspect make it Java (like it or not!) And that would probably not make it very state-of-the art, unless it used jquery, with a very lightweight java portion, which would be possible. Upayavir

Re: Sorting by multi-valued field

2012-12-04 Thread Upayavira
But it would be a lot harder than either splitting them out into separate docs, or writing code to re-index docs when one of their 'next-event' dates passes, with a new single valued 'next-event' field. Less efficient, but easier to write/manage. Upayavira On Tue, Dec 4, 2012

Re: How to change Solr UI

2012-12-04 Thread Upayavira
or demonstration purposes only. Upayavira On Tue, Dec 4, 2012, at 02:37 PM, Jack Krupansky wrote: > Or, maybe integrate /browse with the Solr Admin UI and give it a graphic > treatment that screams that it is a development tool and not designed to > be > a model for an app UI. > > A

Re: Range Queries performing differently on SortableIntField vs TrieField of type integer

2012-12-04 Thread Upayavira
One small question - did you re-index in-between? The index structure will be different for each. Upayavira On Tue, Dec 4, 2012, at 02:30 PM, Aaron Daubman wrote: > Greetings, > > I'm finally updating an old instance and in testing, discovered that > using > the recommended

Re: How to change Solr UI

2012-12-04 Thread Upayavira
't use this in production. Apart from the security issues already mentioned there's the MVC side - you have a model and a view, but no controller, thus it becomes hard to build anything useful very quickly. I'd happily hack disclaimers into place if considered useful. Upayavira On Tue,

Re: how to do a range search not on ordered data (text type)

2012-12-02 Thread Upayavira
You can't. I guess you could extract those numbers from your text and index them into a separate numeric field. Upayavira On Sun, Dec 2, 2012, at 07:08 AM, jend wrote: > Hi, > Im building a solr install which has a blurb of data in a field > "description". > > In

Re: Dynamic ranking based on search term

2012-11-28 Thread Upayavira
doc2: java doc4: book doc5: java doc9: book doc77: book With that structure, you'll have in your index exactly what Solr expects, and will be able to take advantage of the inbuilt ranking capabilities of Lucene and Solr. Upayavira On Wed, Nov 28, 2012, at 10:15 AM, Floyd Wu wrote: > Hi there

Re: Preferred query notation for alternative field values

2012-11-28 Thread Upayavira
, showing exactly what the query was parsed into. I bet you they are both parsed to more or less the same thing, and thus no real impact on query time. Upayavira On Wed, Nov 28, 2012, at 10:54 AM, Charra, Johannes wrote: > > Hi all, > > Is there any reason to prefer a query > &g

Re: Suggester with punctuation signs

2012-11-26 Thread Upayavira
You may want to change your tokenisation anyhow, as a search for 'universidad' will not match your term 'universidad,' But you are on the right track - to improve suggestions, improve what is in your index. Upayavira On Mon, Nov 26, 2012, at 07:54 PM, Jorge Luis Betancourt

Re: Best way to retrieve 20 specific documents

2012-11-19 Thread Upayavira
In fact, you shouldn't need OR: id:(123 456 789) will default to OR. Upayavira On Mon, Nov 19, 2012, at 10:45 PM, Shawn Heisey wrote: > On 11/19/2012 1:49 PM, Dotan Cohen wrote: > > On Mon, Nov 19, 2012 at 10:27 PM, Otis Gospodnetic > > wrote: > >> Hi, > >

Re: CloudSolrServer or load-balancer for indexing

2012-11-19 Thread Upayavira
x27;ll need to scale your Zookeeper nodes far less often than you'd need to do it with Solr. Upayavira On Mon, Nov 19, 2012, at 09:39 PM, Marcin Rzewucki wrote: > OK, got it. Thanks. > > On 19 November 2012 15:00, Mark Miller wrote: > > > Nodes stop accepting updat

Re: Question about Solr Cloud

2012-11-17 Thread Upayavira
ripts, nor any maintenance interfaces, etc, all stuff that you'd expect from a servlet container). Upayavira On Sat, Nov 17, 2012, at 03:04 PM, Erick Erickson wrote: > 1> Well, it loads the local conf directory up to zookeeper so new nodes > can > fetch the configuration and store i

Re: admin query showing unstored fields

2012-11-16 Thread Upayavira
Er, it can't. What are you seeing that seems wrong? Upayavira On Fri, Nov 16, 2012, at 10:13 AM, Reik Schatz wrote: > This might be a silly question but if I search *.* in the admin tool, how > can it show me the full document including all the fields that are set to > stored=&

Re: High Slave CPU Intermittently After Replication

2012-11-15 Thread Upayavira
maxing out memory by having multiple warming searchers. Upayavira On Thu, Nov 15, 2012, at 03:43 PM, richardg wrote: > Here is our setup: > > Solr 4.0 > Master replicates to three slaves after optimize > > We have a problem were every so often after replication the CPU loa

Re: cores shards and disks in SolrCloud

2012-11-15 Thread Upayavira
each core on different disks which can give ome performance benefit. Just some thoughts. Upayavira On Thu, Nov 15, 2012, at 11:04 PM, Buttler, David wrote: > Hi, > I have a question about the optimal way to distribute solr indexes across > a cloud. I have a small number of collections (

Re: Multivalued or not

2012-11-14 Thread Upayavira
I'm pretty sure that Solr only checks whether a field is multivalued at the point at which it receives the second value for a specific field. In your entry below, you only provided one value, so Solr wouldn't complain. Add another line to your , and I bet you it will moan at you. Upa

Re: How to speed up Facet count (Big index) ??!!!!

2012-11-13 Thread Upayavira
g.xml to run this first query on every commit, meaning your users will always get faster queries. Upayavira On Tue, Nov 13, 2012, at 11:16 AM, Aeroox Aeroox wrote: > Thanks Yonik. > > Should I consider sharding in this case ( actually I have one big index > with replication) ? Or cr

Re: Selective Sorting in Solr

2012-10-15 Thread Upayavira
sort=score desc, priority desc Won't that do it? Upayavira On Mon, Oct 15, 2012, at 09:14 AM, Sandip Agarwal wrote: > Hi, > > I have many documents indexed into Solr. I am now facing a requirement > where the search results should be returned sorted based on their scores. >

Re: add shard to index

2012-10-10 Thread Upayavira
JIRA ticket covering this was mentioned earlier in this thread. Upayavira On Mon, Oct 8, 2012, at 04:33 PM, Radim Kolar wrote: > Do it as it is done in cassandra database. Adding new node and > redistributing data can be done in live system without problem it looks > like this: >

Re: add shard to index

2012-10-08 Thread Upayavira
lines of "shard3":{}, then upload it again, what would happen then? My theory is that the next host you start up would become the first node of shard3. Worth a try (unless someone more knowledgeable tells us otherwise!) Upayavira On Mon, Oct 8, 2012, at 01:35 AM, Radim Kolar wrote: >

Re: Adding a new pseudo field

2012-10-08 Thread Upayavira
sits behind the /browse interface, that might help you also. Upayavira On Mon, Oct 8, 2012, at 08:54 AM, deniz wrote: > Could xslt processor be useful for json response too? because i will be > using > the response not for browser but for some other jars.. > > > > - &g

Re: Storing queries in Solr

2012-10-08 Thread Upayavira
t be sufficient for you. Upayavira On Mon, Oct 8, 2012, at 01:24 AM, Jorge Luis Betancourt Gonzalez wrote: > Hi! > > I was wondering if there are any built-in mechanism that allow me to > store the queries made to a solr server inside the index itself. I know > that the suggester modu

Re: Adding a new pseudo field

2012-10-08 Thread Upayavira
dn't need to modify Solr at all. Also, look in Solr 4.0, which has calculated fields. Not sure if there's the scope to find the document position as a function query though. Upayavira On Mon, Oct 8, 2012, at 05:02 AM, deniz wrote: > well basically i was about to explain and ask once

Re: Backup strategy for SolrCloud

2012-09-20 Thread Upayavira
customer facing ones back, they would justd pull their indexes from your remote replicas, and you'd be good to go once more. Upayavira On Thu, Sep 20, 2012, at 10:30 PM, jimtronic wrote: > I'm thinking about catastrophic failure and recovery. If, for some > reason, > the cluste

Re: Copy lucene index into Solr

2012-07-24 Thread Upayavira
Solr places constraints upon what you can do with your lucene index (e.g. You must conform to a schema). If your Lucene index cannot be mapped to a schema, then it cannot be used within Solr. Upayavira On Tue, Jul 24, 2012, at 11:05 PM, spredd1208 wrote: > Is there a best practice to cop

Re: Searching against stored wild cards

2012-06-29 Thread Upayavira
Skip the asterisk and analyse you search terms as an ngram, maybe an edge-ngram, and then it'll match. You'd be querying for: A AB AB- AB-C AB-CD AB-CD- etc... Any of those terms would match your terms. Upayavira On Fri, Jun 29, 2012, at 06:35 PM, Kissue Kissue wrote: > Hi, &

Re: Searching for digits with strings

2012-06-27 Thread Upayavira
How many numbers? 0-9? Or every number under the sun? You could achieve a limited number by using synonyms, 0 is a synonym for nought and zero, etc. Upayavira On Wed, Jun 27, 2012, at 05:22 PM, Alireza Salimi wrote: > Hi, > > I was wondering if there's a built in solution in So

Re: Index Snapshot for 3.3?

2012-06-27 Thread Upayavira
ey're only ever deleted and new ones added. Thus, using hard links to clone an index works well. Upayavira On Wed, Jun 27, 2012, at 02:30 PM, garlandkr wrote: > How can I get a snapshot of the index in SOLR 3.x? > > I am currently taking EBS (Amazon) snapshots of the volume where

Re: synonyms + default "and"

2012-06-26 Thread Upayavira
Try using expand=true at both index and query time. Then all terms will be there in all queries. Upayavira On Tue, Jun 26, 2012, at 01:42 AM, flyingeagle-de wrote: > Hello, > > I've a problem using the synonyms.txt and a default "and" in my search. > > Using a lo

Re: Tidying files after optimize. Is a service restart mandatory?

2012-06-26 Thread Upayavira
, filter queries, etc). Upayavira When you make queries, you do On Tue, Jun 26, 2012, at 07:13 AM, subhendu.acha...@rbs.com wrote: > Hi > > I am running Solr 3.5 server with a master-slave and repeater-slave > architecture from last one year on linux machines. Recently found out >

Re: SolrCloud questions

2011-06-10 Thread Upayavira
x27;s still risk involved in using an unreleased product, you'll have increased your chances of stability. Still hoping someone has answers to my original questions... Upayavira On Fri, 10 Jun 2011 10:55 +0530, "Mohammad Shariq" wrote: > I am also planning to move to SolrClou

SolrCloud questions

2011-06-09 Thread Upayavira
lave, as each slave has a different master (or can I delegate the decision as to which host/core is its master to zookeeper?) Thanks for any pointers. Upayavira --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source

Re: huge shards (300GB each) and load balancing

2011-06-08 Thread Upayavira
k fine (I used them quite happily in another scenario). When looking at resolving single points of failure, handling search is pretty easy (as you say, stateless load balancer). You will need to give more attention though to how you handle it regarding indexing. Hope that helps a bit! Upayavira --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source

Re: Is there a way to get all the hits and score them later?

2011-06-02 Thread Upayavira
don't know if this is what you mean: you can add 'score' to the fl field list, and it will show you the score for each item. Upayavira On Thu, 02 Jun 2011 11:30 -0700, "arian487" wrote: > Basically I don't want the hits and the scores at the same time. I wan

Re: Solr vs ElasticSearch

2011-06-01 Thread Upayavira
On Wed, 01 Jun 2011 11:47 -0400, "Jonathan Rochkind" wrote: > On 6/1/2011 11:26 AM, Upayavira wrote: > > > > Probably the ReplicationHandler would need a 'one-off' replication > > command... > > It's got one already, if you mean a co

Re: Solr vs ElasticSearch

2011-06-01 Thread Upayavira
7;move' the slave, I can't > because it's still setup as a slave. Yep, I'm expecting it to require some changes to both the CoreAdminHandler and the ReplicationHandler. Probably the ReplicationHandler would need a 'one-off' replication command. And some way to d

Re: Solr vs ElasticSearch

2011-06-01 Thread Upayavira
e cores between servers > without a lot of manual labor. I'm likely to try playing with moving cores between hosts soon. In theory it shouldn't be hard. We'll see what the practice is like! Upayavira --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source

Re: Solr security

2011-05-09 Thread Upayavira
your firewall, and your search functionality is available outside. Upayavira On Mon, 09 May 2011 14:57 -0400, "Brian Lamb" wrote: > Hi all, > > Is it possible to set up solr so that it will only execute dataimport > commands if they come from localhost? > > Right now

<    3   4   5   6   7   8   9   >