Using solr(cloud) as source-of-truth for data (with no backing external db)

2016-11-16 Thread Dorian Hoxha
Hi, Anyone use solr for source-of-data with no `normal` db (of course with normal backups/replication) ? Are there any drawbacks ? Thank You

How many versions do you stay behind in production for better stability ?

2016-11-16 Thread Dorian Hoxha
Hi, I see that there is a new release on every lucene release. Do you always use the latest version since it may have bugs (ex most cassandra productions are old compared to latest `stable` version because they're not stable). How much behind do you usually stay ? (ex: 6.3 just came out, and you

Parent child relationship, where children aren't nested but separate (like elasticsearch)

2016-11-16 Thread Dorian Hoxha
Hi, I'm not finding a way to support parent-child like es does (using blockjoin)? I've seen some blogs with having children as nested inside the parent-document, but I want to freely crud childs/parents as

"add and limit" update modifier or scripted update like elasticsearch

2016-11-16 Thread Dorian Hoxha
Hi, Is there an "add and limit" update modifier (couldn't find in docs) ? If not, can I run a script to update a document (still couldn't find anything) ? If not, how should I do that (custom plugin? )? Thank You

Delta indexing with child documents with help of cacheImpl="SortedMapBackedCache"

2016-11-16 Thread Aniket Khare
Hi, I am using solr DIH for indexing the Parent-Child relation data and using cacheImpl="SortedMapBackedCache". For Full data indexinf I am using command clean="true" and for delta I am using command full-import and clean="false". So the same queries are being executed for fulland delta and

Re: compilation error

2016-11-16 Thread Midas A
Please reply? On Thu, Nov 17, 2016 at 11:31 AM, Midas A wrote: > gettting following error while compiling . > . > org.apache.avro#avro;1.7.5: configuration not found in > org.apache.avro#avro;1.7.5: 'master'. It was required from > org.apache.solr#morphlines-core; > > >

compilation error

2016-11-16 Thread Midas A
gettting following error while compiling . . org.apache.avro#avro;1.7.5: configuration not found in org.apache.avro#avro;1.7.5: 'master'. It was required from org.apache.solr#morphlines-core; and not able to resolve . please help in resolving .

Re: index dir of core xxx is already locked.

2016-11-16 Thread Erick Erickson
You really need to go through your Solr logs for the shard(s) in question very carefully. There'll be a lot of information dumped out, including paths used for everything. I suspect you've unknowingly created this situation when trying to set up Solr, HDFS or whatever but I can't really say what

Re: index dir of core xxx is already locked.

2016-11-16 Thread Chetas Joshi
I don't kill the solr instance forcefully using "kill -9". I checked the core.properties file for that shard. The content is different from the core.properties file for all the other shards. It has the following two lines which are different config=solrconfig.xml schema=schema.xml In other

Re: index dir of core xxx is already locked.

2016-11-16 Thread Erick Erickson
bq: Before restarting, I delete all the write.lock files from the data dir. But every time I restart I get the same exception. First, this shouldn't be necessary. Are you by any chance killing the Solr instances with the equivalent of "kill -9"? Allow them to shut down gracefully. That said,

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread Kevin Risden
Thanks Sandeep! Kevin Risden On Wed, Nov 16, 2016 at 3:33 PM, sandeep mukherjee < wiredcit...@yahoo.com.invalid> wrote: > [SOLR-9779] Basic auth in not supported in Streaming Expressions - ASF JIRA > > | > | > | > | || > >| > > | > | > | | > [SOLR-9779] Basic auth in not supported

index dir of core xxx is already locked.

2016-11-16 Thread Chetas Joshi
Hi, I have a SolrCloud (on HDFS) of 52 nodes. I have 3 collections each with 50 shards and maxShards per node for every collection is 1. I am having problem restarting a solr shard for a collection. When I restart, there is always a particular shard of a particular collection that remains down.

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread sandeep mukherjee
[SOLR-9779] Basic auth in not supported in Streaming Expressions - ASF JIRA | | | | || | | | | | [SOLR-9779] Basic auth in not supported in Streaming Expressions - ASF JIRA | | | | I have created the above jira ticket for the base auth support in solr

ExtractingRequestHandler AND NLP

2016-11-16 Thread Kyle W. Bolin
I am trying to implement the NLP functionality within the Solr ExtractingRequestHandler and the Tika framework I am using PDF documents to index and have been successful in extracting and indexing the content but have not been successful in engaging the NLP routines. I have reached the

Re: Handling ampersands in searches.

2016-11-16 Thread Erick Erickson
Why do you think that the porter stemmer is involved here? That takes tokens and tries to reduce them to their base form through a set of rules. My guess is that the & just falls outside all rules so is passed through unimpeded. This is where the admin/analysis page is invaluable. If you look at

Re: does velocity search ui work ?

2016-11-16 Thread win harrington
Thank you. I set all the techproductsfiles to permissions 777 and it startedworking.   :) On Wednesday, November 16, 2016 3:18 PM, Erick Erickson wrote: Works fine for me. What exactly do you see? And what does your solr log show when you try to access the

Re: Detecting schema errors while adding documents

2016-11-16 Thread Erick Erickson
You're probably thinking about SOLR-445 (yes, 445. This issue has been hanging around for that long) But that's for much more recent versions than 4.10.3 so without looking at the Solr logs I don't think there's much of a way to tell. The awkward way is, when a batch fails re-submit the docs

Re: does velocity search ui work ?

2016-11-16 Thread Erick Erickson
Works fine for me. What exactly do you see? And what does your solr log show when you try to access the browse handler? Best, Erick On Wed, Nov 16, 2016 at 11:35 AM, win harrington wrote: > https://cwiki.apache.org/confluence/display/solr/Velocity+Search+UI >

velocity is working now

2016-11-16 Thread win harrington
I couldn't get Velocity Search to work.https://cwiki.apache.org/confluence/display/solr/Velocity+Search+UI I set all the files to permissions 777 andVelocity works now.  :) I'm just experimenting now. I'll look laterto see what the problem was.

does velocity search ui work ?

2016-11-16 Thread win harrington
https://cwiki.apache.org/confluence/display/solr/Velocity+Search+UI I'm using Solr 6.2,  bin/solr -e techproducts This doesn't work for me."When using the sample_techproducts_configs  config set, you can access the Velocity sample Search UI"  http://localhost:8983/solr/techproducts/browse  

Re: Hardware size in solrcloud

2016-11-16 Thread Kevin Risden
First question: is your initial sizing correct? 7GB/1 billion = 7 bytes per document? That would be basically 7 characters? Anyway there are lots of variables regarding sizing. The typical response is:

Hardware size in solrcloud

2016-11-16 Thread Mugeesh Husain
I have lots of document i dont know now how much it would be in future. for the inilial stage, I am looking for hardware details(assumption). I are looking forward to setting up a billion document(1 billion approx) solr index and the size is 7GB. Can you please suggest the hardware details as

Re: Solr Logs Info

2016-11-16 Thread Erik Hatcher
What IP address is that request coming from? Perhaps you can track it down from there. > On Nov 16, 2016, at 12:25 PM, Mugeesh Husain wrote: > > Erik, > > But I didn't open admin GUI for long time but its showing me this request on > my logs. > > > > -- > View this

Detecting schema errors while adding documents

2016-11-16 Thread Mike Thomsen
We're stuck on Solr 4.10.3 (Cloudera bundle). Is there any way to detect with SolrJ when a document added to the index violated the schema? All we see when we look at the stacktrace for the SolrException that comes back is that it contains messages about an IOException when talking to the solr

Re: Change Solr contextPath =“/“ ?

2016-11-16 Thread Christian Ortner
Hi Matthew, your problem sounds like you want to run something alongside Solr, that probably uses Solr. Since current versions of Solr basically require you to go over HTTP, you could deploy the thing you would like to run in the root context in a separate application container that accesses Solr

Adding retries for making calls to solr using solrj

2016-11-16 Thread pdj xyz
Hi, We are seeing transient Connection reset in our custom solr client(a wrapper around solrj). We want to add retries to all methods that we are currently using so that the we are able to upload successfully. However, I'm not sure if there's any relevant documentation on which methods are

Handling ampersands in searches.

2016-11-16 Thread Callum Lamb
I'm having an issue where searches that contain ampersands aren't being handled correctly. I need them to be dropped at index time *AND* query time. When documents come in and are indexed the ampersands are successfully dropped when they go into my stemmed field (When I facet on the stemmed field

Re: Solr Logs Info

2016-11-16 Thread Mugeesh Husain
Erik, But I didn't open admin GUI for long time but its showing me this request on my logs. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Logs-Info-tp4306116p4306154.html Sent from the Solr - User mailing list archive at Nabble.com.

potential issue/bug reported by Jetty team? was: Re: Change Solr contextPath =“/“ ?

2016-11-16 Thread matthew grisius
I can now deploy my app that uses Solr via Jetty similar to my previous tomcat/tomee+ stack war deployment thanks to the Jetty team (Simone Bordet). It turned out to be very straightforward. Per his suggestion I commented out the RewriteHandler def and reference in $solr/server/etc/jetty.xml.

Re: Error "unexpected docvalues type NUMERIC for field" using rord() function query on single valued int field

2016-11-16 Thread Jaco de Vroed
Hi, I made a typo. The Solr version number in which this error occurs is 5.5.3. I also checked 6.3.0, same problem. Thanks, bye, Jaco. On 16 November 2016 at 17:39, Jaco de Vroed wrote: > Hello Solr users, > > I’m running into an error situation using Solr 5.3.3. The case

Error "unexpected docvalues type NUMERIC for field" using rord() function query on single valued int field

2016-11-16 Thread Jaco de Vroed
Hello Solr users, I’m running into an error situation using Solr 5.3.3. The case is as follows. In my schema, I have a field with a definition like this: That field is used in function queries for boosting purposes, using the rord() function. We’re coming from Solr 4, not using

Re: Solr Logs Info

2016-11-16 Thread Erik Hatcher
Probably means you went to the admin UI that made that request? /admin/info/system is a special request handler that provides system information. Erik > On Nov 16, 2016, at 9:35 AM, Mugeesh Husain wrote: > > In every day igot the below Info in solr logs files >

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread sandeep mukherjee
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Nope never got past the login screen. Will create one today. Sent from Yahoo Mail for iPhone On Wednesday, November 16,

Apache Solr Reference Guide for 6.3 released

2016-11-16 Thread Cassandra Targett
The Lucene PMC is pleased to announce that the Solr Reference Guide for Solr 6.3 has been released. This 736-page PDF is the definitive guide to using Apache Solr, the blazing fast search server built on Apache Lucene. The Guide can be downloaded from:

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread Kevin Risden
Was a JIRA ever created for this? I couldn't find it searching. One that is semi related is SOLR-8213 for SolrJ JDBC auth. Kevin Risden On Wed, Nov 9, 2016 at 8:25 PM, Joel Bernstein wrote: > Thanks for digging into this, let's create a jira ticket for this. > > Joel

Solr Logs Info

2016-11-16 Thread Mugeesh Husain
In every day igot the below Info in solr logs files 2016-11-16 00:02:04.476 INFO (qtp531008412-14) [ ] o.a.s.s.SolrDispatchFilter [admin] webapp=null path=/admin/info/system params={wt=json} status=0 QTime=38 what does its mean ? -- View this message in context:

Re: Solr Start-Up Error

2016-11-16 Thread Shawn Heisey
On 11/16/2016 1:25 AM, Ashish Kumar9 wrote: > Solr Version : 6.2.0 > > I downloaded solr and built the source successfully it got built . During > executing I first tried to run the built package and I got below exception > Then I thought this is generic java issue . and I specified the flag

Re: empty strings outputting to numeric field types

2016-11-16 Thread John Blythe
Ahh, makes sense. Thanks for the clarity, Hoss. Best- -- *John Blythe* Product Manager & Lead Developer 251.605.3071 | j...@curvolabs.com www.curvolabs.com 58 Adams Ave Evansville, IN 47713 On Tue, Nov 15, 2016 at 5:05 PM, Chris Hostetter wrote: > > : fields

Re: book for Solr 3.4?

2016-11-16 Thread Dorian Hoxha
@HelponR Curious why you're interested in an old version ? On Tue, Nov 15, 2016 at 11:43 PM, HelponR wrote: > Thank you. Just found one here https://wiki.apache.org/solr/SolrResources > > "Apache Solr 3 Enterprise Search Server >

Re:NPE when executing clustering query search

2016-11-16 Thread Christine Poerschke (BLOOMBERG/ LONDON)
Hi Tim, Thanks for reporting this. The (just created) https://issues.apache.org/jira/browse/SOLR-9775 issue and associated pull request sound related to this. Regards, Christine - Original Message - From: solr-user@lucene.apache.org To: solr-user@lucene.apache.org At: 03/22/16

Re: Search opening hours

2016-11-16 Thread O. Klein
Above implementation was too slow, so wondering if Solr 6 with all its new features provides a better solution to tackle operating hours. Especially dealing with different timezones. Any thoughts? -- View this message in context:

Solr filesystems: btrfs, xfs? Performance, stability, config...

2016-11-16 Thread Will Moy
Hi all Does anyone have any advice or experience on using btrfs or xfs for Solr? We've hit inode limits in ext (not because of Solr itself) and are wondering about using something else. I'm curious whether btrfs is stable enough, what configuration to use, whether one is better than the other,

Solr Start-Up Error

2016-11-16 Thread Ashish Kumar9
Hi I am facing below exception issue when starting Solr in standalone mode on my environment Solr Version : 6.2.0 I downloaded solr and built the source successfully it got built . During executing I first tried to run the built package and I got below exception