Segments in solr index gets deleted after every restart

2016-08-29 Thread Nisha Menon
I have an issue with respect to increasing space on my Solr servers. Whenever I see that the allocated space is almost full for a particular server, I perform a service solr restart and this clears up some space and things work normally from there for some time. Again this builds up and I get a

Re: Return parent's records which has more than certain number of childs

2016-08-29 Thread Alexandre Rafalovitch
If you are indexing the parent/child as a block, then you know number of children when you are indexing parent and can store that as a field. That would be most efficient. The best place to calculate that information is probably a custom Update Request Processor. Regards, Alex.

Return parent's records which has more than certain number of childs

2016-08-29 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, in the parent/child nested document, is it possible to return only records with a certain number of child? For example, I want to return all the parent's records which has more than 100 child. Is it possible to be done? I'm using Solr 6.1.0 Regards, Edwin

Re: Default stop word list

2016-08-29 Thread Walter Underwood
Do not remove stop words. Want to search for “vitamin a”? That won’t work. Stop word removal is a hack left over from when we were running search engines in 64 kbytes of memory. Yes, common words are less important for search, but removing them is a brute force approach with severe side

Re: Default stop word list

2016-08-29 Thread Steven White
Thanks Shawn. This is the best answer I have seen, much appreciated. A follow up question, I want to remove stop words from the list, but if I do, then search quality will degradation (and index size will grow (less of an issue)). For example, if I remove "a", then if someone search for "For a

Default Field Cache

2016-08-29 Thread Rallavagu
Solr 5.4.1 Wondering what is the default configuration for "fieldValueCache".

Re: Solr embedded jetty jstack

2016-08-29 Thread Rallavagu
Responding to my own query. I got this fixed. The solr startup was maintained by systemd script which was configured with "PrivateTmp=true". I have changed that to "PrivateTmp=false" and "/tmp/hsperfdata_/" is not removed after server startup then jstack worked. On 8/29/16 11:31 AM,

Solr embedded jetty jstack

2016-08-29 Thread Rallavagu
I have run into a strange issue where "jstack -l " does not work. I have tried this as the user that solr (5.4.1) is running as. I get following error. $ jstack -l 24064 24064: Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when

Re: Migrate data from solr4.9 to solr6.1

2016-08-29 Thread Piyush Kunal
I would be using solrcloud on solr 6.1.0 and will be having more number of shards than my previous set-up. On Mon, Aug 29, 2016 at 11:38 PM, Piyush Kunal wrote: > Is there any way through which I can migrate my index which is currently > on 4.9 to 6.1? > > Looking for

Migrate data from solr4.9 to solr6.1

2016-08-29 Thread Piyush Kunal
Is there any way through which I can migrate my index which is currently on 4.9 to 6.1? Looking for something backup and restore.

Re: changing the /solr path, additional steps needed for 6.1

2016-08-29 Thread John Bickerstaff
Bless you Chris! And if you were local, I'd buy you a beer! This was a big help - I was trying to figure this one out. On Thu, Aug 25, 2016 at 1:27 PM, Chris Morley wrote: > This might help some people: > > To change the URL to server:port/ourspecialpath from

Re: How to update from Solr Cloud 5.4.1 to 5.5.1

2016-08-29 Thread Tom Devel
Shawn, Do you (or anybody else here) know of the upgrade steps from 6.1 to 6.2 in this case? The release notes of 6.2 do not mention anything about upgrading, but 6.2 has some good bugfixes. If 6.2 made changes to the index format, is a drop-in replacement from 6.1 to 6.2 still possible?

Unicode collation - Sorting text for multiple languages

2016-08-29 Thread Vasu Y
Hi, I was looking at Unicode Collation @ Wiki ( http://wiki.apache.org/solr/UnicodeCollation#Sorting_text_for_multiple_languages ) and it seems to suggest that: Use the Unicode "default" collator (to overcome/minimize increase in disk and indexing costs) over defining collated fields for each

Atomic Update w/ Date Copy Field

2016-08-29 Thread Todd Long
We recently started using atomic updates in our application and have since noticed that date fields copied to a text field have varying results between full and partial updates. When the document is fully updated the copied text date appears as expected (i.e. -MM-dd'T'HH:mm:ss.SSSZ); however,

Re: Use function in condition

2016-08-29 Thread Emir Arnautovic
Hi Nabil, Can you try following: fq={!frange l=1}and(query($sub1),or(query($sub2),query($sub3)))={!frange l=1000}sum(F1,F2)={!frange u=2000}sum(F3,F4)={!frange l=3000}sum(F5,F6) Thanks, Emir On 29.08.2016 11:50, nabil Kouici wrote: Hi solr users, I'm still not able to find a solution either

How to swap two cores and then unload one of them

2016-08-29 Thread Fabrizio Fortino
I have a NON-Cloud Solr and I am trying to use the swap functionality to push an updated core into production without downtime. Here are the steps I am executing 1. Solr is up and running with a single core (name = 'livecore') 2. I create a new core with the latest version of my documents (name =

Re: Use function in condition

2016-08-29 Thread nabil Kouici
Hi solr users, I'm still not able to find a solution either with function query :( My need is simple, I'd like to execute these combined filters : (Sum F1 and F2 greater than 1000) AND ( (sum F3 and F4 lower than 2000) OR (sum F5 and F6 greater then 3000) ) Could you please help me to translate

Re: Most popular fields under a list of documents

2016-08-29 Thread Mikhail Khludnev
facet.field=ints ?? On Mon, Aug 29, 2016 at 11:57 AM, Algirdas Jokubauskas wrote: > What kind of facets would work best here for this specific scenario? > > I already use it in several places. > > > Med venlig hilsen / Best regards > > *Algirdas Jokubauskas* > Software Developer >

Re: Most popular fields under a list of documents

2016-08-29 Thread Algirdas Jokubauskas
What kind of facets would work best here for this specific scenario? I already use it in several places. Med venlig hilsen / Best regards *Algirdas Jokubauskas* Software Developer *www.accumolo.com www.mcb.dk kont...@accumolo.dk