Solr dosn't load index at startup: out of memory

2014-04-11 Thread Erik
Hi, my solr (v. 4.5) after moths of work suddenly stopped to index: it responded at the query but didn't index anymore new data. Here the error message: ERROR - 2014-04-11 15:52:30.317; org.apache.solr.common.SolrException; java.lang.IllegalStateException: this writer hit an OutOfMemoryError; canno

Re: Issues when indexing PDF files

2015-12-16 Thread Erik Hatcher
Edwin - Can you share one of those PDF files? Also, drop the file into the Tika app and see what it sees directly - get the tika-app JAR and run that desktop application. Could be an encoding issue? Erik — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <h

Re: Numerous problems with SolrCloud

2015-12-21 Thread Erik Hatcher
disposal. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Dec 21, 2015, at 10:37 AM, John Smith wrote: > > This is my first experience with SolrCloud, so please bear with me. > > I've inherited a setup with

Re: Parameter Substitution / Macro Expansion

2015-12-30 Thread Erik Hatcher
I dunno why that doesn't work but try {!mlt ... v=$master_id} and set a default value in your config for master_id and that should at least work. Erik > On Dec 30, 2015, at 08:37, Alessandro Benedetti wrote: > > I was taking a look to this article from Yonik [1] . > I lik

Re: Using post.jr for indexing in Solr 5.4.0

2015-12-31 Thread Erik Hatcher
Looks like you don't have Solr "Cell" lib's pointed to properly in your solrconfig. Try /update/extract directly taking post.jar out if the equation to troubleshoot. What's your exact command line? Erik > On Dec 31, 2015, at 00:42, Zheng Lin Edwin Yeo wro

Re: Testing Solr configuration, schema, and other fields

2015-12-31 Thread Erik Hatcher
end client/customer/user use? Maybe the configset and collection created for smoke testing are just temporary in order to validate it. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Dec 30, 2015, at 3:09 PM, Davis, Daniel (NI

Re: Teiid with Solr - using any other engine except the SolrDefaultQueryEngine

2015-12-31 Thread Erik Hatcher
,…, I’d definitely recommend giving {!terms} a try before doing anything custom. I’m with Alexandre in the recommendation to get everything into Solr and use that for the “front end” :) (many folks come around to this way after exploring more complicated arrangements) — Erik Hatcher, Senior

Re: Issue with if() statement

2016-01-03 Thread Erik Hatcher
aram substitution and {!switch} voodoo in example/files that ships with Solr, and that might be helpful. Check out how that works. I’m in the polishing stages of a a collaborative blog post on example/files that will detail these tricks a bit - will publish that in the next few days. — Erik Hat

Re: Dynamically Adding query parameters in my custom Request Handler class

2016-01-09 Thread Erik Hatcher
don’t need to search within your component, just affect parameters, right? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Jan 9, 2016, at 3:19 PM, Mark Robinson wrote: > > Hi, > > Ahmet, Jack, Thanks for the pointers

Re: indexing rich data with solr 5.3

2016-01-14 Thread Erik Hatcher
der'=>{ 'status'=>0, 'QTime'=>3}, ''=>' http://www.w3.org/1999/xhtml";> https://lucidworks.com/blog/2015/08/04/solr-5-new-binpost-utility/ But I also recommend having the Tika desktop app handy, in which you can drag and drop a f

Re: One complex wildcard query lead solr OOM

2016-01-24 Thread Erik Hatcher
One option is to use the dismax (not edismax) as it does not support wild card queries. Erik > On Jan 24, 2016, at 05:21, Jian Mou wrote: > > Hi Jack, > > Thanks! Do you know how to disable wildcards, What I want is if input is > wildcards, just treat it as a no

Re: facet by update date

2016-01-24 Thread Erik Hatcher
want < 3 days to not include under 24 hour ones too, but just some considered Lucene query clauses will do the trick. Erik > On Jan 24, 2016, at 18:38, Jay Potharaju wrote: > > Thanks Pavel, > I was trying it using the range faceting instead of facet.interval. Can > someone

Re: facet by update date

2016-01-25 Thread Erik Hatcher
t.query in terms of > performance? > Thanks > > > On Sun, Jan 24, 2016 at 5:04 PM, Erik Hatcher > wrote: > >> I suggest facet.query is the way to go for a handful of buckets/ranges. >> >> I'm mobile so apologies for not providing some examples but somethi

Re: Windows post.jar Can't unambiguously select between fixed arity signatures

2016-01-26 Thread Erik Hatcher
issue (by ignoring the extraction part when no content) though. Erik > On Jan 26, 2016, at 04:40, Netz, Steffen > wrote: > > Hi, > > I'm just downloaded solr and playing around. > So far I started the Server and created a core: > > bin\solr start > bin\

Re: Windows post.jar Can't unambiguously select between fixed arity signatures

2016-01-26 Thread Erik Hatcher
r your needs, tinker with conf/update-script.js to avoid the use of the “content” field. Erik * webinar: https://programs.lucidworks.com/Webinar-Solr-example-files.html?utm_source=hp <https://programs.lucidworks.com/Webinar-Solr-example-files.html?utm_source=hp> and blog post seri

Re: Windows post.jar Can't unambiguously select between fixed arity signatures

2016-01-26 Thread Erik Hatcher
. So in that case, 'bin/solr create -c files -d example/files; bin/post -c files some_files/; open http://localhost:8983/solr/files/browse' is the way to go. Let’s work to make it better! Suggestions welcome on that JIRA ticket. Erik

Re: Highlights on Expanded results

2016-01-29 Thread Erik Hatcher
Maybe as a DocTransformer? > On Jan 29, 2016, at 08:23, Joel Bernstein wrote: > > I'm wondering how difficult it would be to get the highlighter working on > expanded results. I think it's worth creating a jira request for this. > > Joel Bernstein > http://joelsolr.blogspot.com/ > >> On Fri, J

Re: Highlights on Expanded results

2016-01-29 Thread Erik Hatcher
it would be to do highlighting through the doc transformer. > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Fri, Jan 29, 2016 at 8:32 AM, Erik Hatcher > wrote: > >> Maybe as a DocTransformer? >> >>> On Jan 29, 2016, at 08:23, Joel Bernstein

Re: dynamic fields | Naming conventions

2016-01-29 Thread Erik Hatcher
identifier, so I’d steer clear of it myself. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Jan 29, 2016, at 8:59 AM, Prateek Jain J > wrote: > > > Hi, > > We have decided to use dynamic fileds in solr for

Re: Full Indexing is geeting failed with hybris application

2016-01-31 Thread Erik Hatcher
Manoj - looks like the master isn’t available? Did you start up all nodes? As a related aside - I/we/Lucidworks have done some hybris/Solr/Fusion work, so if you need any assistance let us know. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.

Re: Full Indexing is geeting failed with hybris application

2016-01-31 Thread Erik Hatcher
Manoj - the log attachments don’t come through on the listserv. Did you upgrade all nodes in your system? What version of Solr is running? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Jan 31, 2016, at 1:12 PM, Manoj Agraw

Re: Full Indexing is geeting failed with hybris application

2016-01-31 Thread Erik Hatcher
> wrote: > >> yes, we updated all the nodes. we are using solr 4.6 >> >> as part of upgrade , we have cloned the solr server of and their >> configuration. >> >> On Sun, Jan 31, 2016 at 3:21 PM, Erik Hatcher >> wrote: >> >>> Manoj -

Re: use /update in the Gui admin interface

2016-02-01 Thread Erik Hatcher
JJM - use the “Documents” tab in the admin UI instead of the “Query” one. Erik > On Feb 1, 2016, at 3:10 AM, Jean-Jacques MONOT wrote: > > Hello > > I am using the GUI admin interface for the SOLR java server. > > No problem to make "classical"

Re: KeepWord

2016-02-01 Thread Erik Hatcher
And if you want to have the “kept” words stored, consider the trick used in example/files for url/e-mail extraction mentioned here (note the related fix in the patch in the JIRA issue mentioned): https://lucidworks.com/blog/2016/01/27/example_files/

Re: Update to solr 5 - custom phrase query implementation issue

2016-02-02 Thread Erik Hatcher
> On Feb 2, 2016, at 8:57 AM, Elodie Sannier wrote: > > Hello, > > We are using solr 4.10.4 and we want to update to 5.4.1. > > With solr 4.10.4: > - we extend PhraseQuery with a custom class in order to remove some > terms from phrase queries with phrase slop (update of add(Term term, int > po

Re: Update to solr 5 - custom phrase query implementation issue

2016-02-03 Thread Erik Hatcher
? Erik > On Feb 3, 2016, at 6:05 AM, Gerald Reinhart > wrote: > > On 02/02/2016 03:20 PM, Erik Hatcher wrote: >>> On Feb 2, 2016, at 8:57 AM, Elodie Sannier wrote: >>> >>> Hello, >>> >>> We are using solr 4.10.4 and we want to up

Re: Signals and scoring

2016-02-05 Thread Erik Hatcher
them into the actual search request Signals, in Fusion, are general purpose and could enable not only click boosting but also search history boosting, item/item, query/item, and item/query facilities. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.

Re: Signals and scoring

2016-02-05 Thread Erik Hatcher
John - best to not have non-Solr discussions on the list, but feel free to reach out to us at Lucidworks to connect further about it. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Feb 5, 2016, at 8:34 AM, John Blythe wrote:

Re: boolean query with score and with out score

2016-02-12 Thread Erik Hatcher
What are the parsed queries from debug=true? Maybe it's an Or/OR thing? > On Feb 12, 2016, at 23:47, sara hajili wrote: > > hi i have a Boolean query > like this > query = caption:apple Or caption:bannana^1.0003 OR > caption:pineapple^1.0023 > and get a result like > doc1 > doc2 > doc3 > > bu

Re: boolean query with score and with out score

2016-02-13 Thread Erik Hatcher
ineapple > and get different result.! > > On Fri, Feb 12, 2016 at 11:55 PM, Erik Hatcher > wrote: > >> What are the parsed queries from debug=true? Maybe it's an Or/OR thing? >> >>> On Feb 12, 2016, at 23:47, sara hajili wrote: >>> >>> hi i ha

Re: Data Import Handler Usage

2016-02-16 Thread Erik Hatcher
The "other" collection (destination of the import) is the collection where that data import handler definition resides. Erik > On Feb 16, 2016, at 01:54, vidya wrote: > > Hi > > I have gone through documents to define data import handler in solr. But i > cou

Re: class="solr.UpdateRequestHandler" on solr 5.2.1

2016-02-21 Thread Erik Hatcher
I think the issue is that the distributed update processor isn't configured. That's necessary for SolrCloud to forward docs. Erik > On Feb 21, 2016, at 15:20, Erick Erickson wrote: > > Why are you using old-style replication with solr cloud? I suggest you turn > it

Re: Is anybody using Config API/configoverlay.json, useParams/params.json, and/or initParams?

2016-02-26 Thread Erik Hatcher
data_driven /browse does. And example/files builds upon that a lot more. I did it that way to personally explore the configset feature. Erik > On Feb 26, 2016, at 16:12, Alexandre Rafalovitch wrote: > > Hi, > > I am creating an explanation of solrconfig.xml for the begin

Re: Querying through SolrJ taking lot of time

2016-03-03 Thread Erik Hatcher
Mark - there’s more to the equation than your query, I imagine. Are you returning a larger number of rows or facets? Can you share the Solr log of that request (and perhaps any request handler config if you’ve adjusted that)? Erik > On Mar 3, 2016, at 4:21 AM, Mark Robinson wr

Re: Does SolrEntityProcessor works with Solr Cloud ?

2016-03-03 Thread Erik Hatcher
work, even against a SolrCloud cluster. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 3, 2016, at 5:42 AM, Neeraj Bhatt wrote: > > Hello All > > I am tryiing to import data from one solr clo

Re: Spatial Search on Postal Code

2016-03-04 Thread Erik Hatcher
s to pass on to the main collection Straightforward, clean, and effective for the needs. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 4, 2016, at 7:09 AM, Manohar Sripada wrote: > > Here's my requirement - User e

Re: Field exclusion from fl and hl.fl

2016-03-06 Thread Erik Hatcher
I don't believe that was ever supported. But Scott and I have been working through SOLR-3191 recently to get that need addressed. Maybe some time next week we will have a ready to commit patch up. Erik > On Mar 5, 2016, at 22:19, William Bell wrote: > > it used to s

Re: Solr to Production

2016-03-27 Thread Erik Hatcher
Now back up and start troubleshooting with curl outside of java, netbesns, etc > On Mar 27, 2016, at 07:24, Adel Mohamed Khalifa > wrote: > > Hello, > > I checked the port and it is not blocked. > When I click the search button there is nothing. > > I try to debug my netbeans on Ubuntu and th

Re: Solr-5.5.0 doesn't recognize difefrent types of _childDocuments_ any more --degrading since 5.3.1?

2016-03-28 Thread Erik Hatcher
Alisa - sorry for not seeing this sooner, but I think Yonik is right… try adding `-format solr` to the command-line of bin/post. Solr 5.5 is where the changed occurred to use a different end-point for JSON. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <h

Re: How can i pass in solr dynamic values to a particular field

2016-04-27 Thread Erik Hatcher
A couple of options - param substitution - fq=maths:${maths_v} AND science:${science_v} where &maths_v=25 and &science_v=30 And one I like better because it’s a more precisely defined query: fq=({!term f=maths v=$maths_v}) AND {!term f=science v=$science_v} — Erik

Re: Decide on facets from results

2016-04-27 Thread Erik Hatcher
Results will vary based on how you indexed those fields, but sure… &facet=on&facet.field= - with sufficient RAM, lots of fun to be had! — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Apr 27, 2016, at 12:13 PM, Mar

Re: posting html files

2015-08-03 Thread Erik Hatcher
details of what you’ve tried. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 3, 2015, at 1:43 PM, Huiying Ma wrote: > > Hi everyone, > > I created a core with the basic config sets and schema, when I use bin/post &g

Re: posting html files

2015-08-03 Thread Erik Hatcher
ay/solr/Uploading+Data+with+Solr+Cell+using+Apache+Tika#UploadingDatawithSolrCellusingApacheTika-InputParameters> - you can set these parameters on the upload, using -params (see the “Capturing and Mapping” example with -params on the bin/post) or by adjusting the settings of /update/extract in solrcon

Re: Can Apache Solr Handle TeraByte Large Data

2015-08-03 Thread Erik Hatcher
Most definitely yes given your criteria below. If you don’t care for the text to be parsed and indexed within the files, a simple file system crawler that just got the directory listings and posted the file names split as you’d like to Solr would suffice it sounds like. — Erik Hatcher, Senior

Re: Can Apache Solr Handle TeraByte Large Data

2015-08-04 Thread Erik Hatcher
to index _just_ the file names then a shell script that generated a CSV could be easy and clean. It’s trivial to `bin/post -c data.csv` — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 4, 2015, at 5:51 AM, Mugeesh Husa

Re: Same query fails in SolrJ, but works in the browser.

2015-08-04 Thread Erik Hatcher
What does Solr log in the 400 response situation? It’d be good to compare the logging of both browser and SolrJ requests - something is different. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 4, 2015, at 9:24 AM, Mark

Re: are facets or MatchAllDocsQuery not cached?

2015-08-06 Thread Erik Hatcher
responses is something I’ve heard of folks doing. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 6, 2015, at 8:32 AM, Bernd Fehling > wrote: > > Thanks a lot, your statement makes me feel better :-) > &g

Re: (possible)SimplePostTool problem --(Windows, Bitnami distribution)

2015-08-11 Thread Erik Hatcher
What was the actual command-line used for the failing attempts? Try using -Dauto=yes (java -Dauto=yes -Dc=tika -jar post.jar ….) Check out “post.jar -h” for more details on command-line options. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.

Re: Filter Out Facet Results

2015-08-11 Thread Erik Hatcher
One solution is to filter these out at indexing time. The StopFilter with a custom stop list file could do the trick - you’ll probably need to adjust your field type definition to be a TextField instead of a StrField, use a KeywordTokenizer and then a StopFilter. — Erik Hatcher, Senior

Re: Highlighting

2015-08-11 Thread Erik Hatcher
Scott - doesn’t look you’ve specified hl.fl specifying which field(s) to highlight. p.s. Erick Erickson surely likes your e-mail domain :) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 11, 2015, at 9:02 PM, Scott Derri

Re: Adding additional file types for indexing

2015-08-13 Thread Erik Hatcher
You can set the -filetypes parameter (either to post.jar or to bin/post). -filetypes [,,...] (default: xml,json,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log) Try -filetypes “*” to attempt indexing every file. — Erik Hatcher, Senior Solutions Architect

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
Be careful with an unquoted * - try quoting it. (I was trying to be precise in my reply by quoting it but should have called that out as a potential issue) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 14, 2015, at

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
ng auto mode. Indexing pages with content-types corresponding to file endings * Entering crawl at level 0 (1 links total, 1 new) SimplePostTool: WARNING: Skipping URL with unsupported type image/png So something needs fixing in web crawl mode it looks like. — Erik Hatcher, Sen

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
I opened https://issues.apache.org/jira/browse/SOLR-7929 <https://issues.apache.org/jira/browse/SOLR-7929> for the issue below. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Aug 14, 2015, at 11:28 AM, Erik Hatcher wrote

Re: Indexing Fixed length file

2015-08-28 Thread Erik Hatcher
w/select?q=*:*&wt=csv' val,_version_,id 36,1510767115252006912,Q With a big bunch of data, the stdin detection of bin/post doesn’t work well so I’d certainly recommend going to an intermediate real file (awk... > data.csv ; bin/post … data.csv) instead. — Erik Hatcher, Senior Solutions Architect ht

Re: Indexing Fixed length file

2015-08-28 Thread Erik Hatcher
t; > Regards, > Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 28 August 2015 at 12:39, Erik Hatcher wrote: >> How about this incantation: >> >> $ bin/solr create -c fw >> $ echo

Re: Strange behavior of solr

2015-09-02 Thread Erik Hatcher
world data and the pitfalls of allowing field type guessing to guess incorrectly. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Sep 2, 2015, at 5:17 AM, Long Yan wrote: > > Hey, > I have created a core with > bin\solr create -c mycore > > I

Re: any easy way to find out when a core's index physical file has been last updated?

2015-09-03 Thread Erik Hatcher
t=json&show=index&numTerms=0> and the index section of the response has this: lastModified: "2015-09-03T15:17:22.708Z" Does that help? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Sep 3, 2015, at 3:52

Re: SOLR DataImportHandler - Problem with XPathEntityProcessor

2015-09-09 Thread Erik Hatcher
/StatelessScriptUpdateProcessorFactory.html <http://lucene.apache.org/solr/5_3_0/solr-core/org/apache/solr/update/processor/StatelessScriptUpdateProcessorFactory.html> for some additional information. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/&

Re: Debugging Angular JS Application

2015-09-10 Thread Erik Hatcher
/refreshable-without-a-build? Would that work? Erik > On Sep 10, 2015, at 11:36 AM, Shawn Heisey wrote: > > On 9/10/2015 9:03 AM, Esther-Melaine Quansah wrote: >> Is there a way for me to debug and modify Angular JS code in the Solr Admin >> UI without needing to c

Re: Debugging Angular JS Application

2015-09-10 Thread Erik Hatcher
Upayavira, could you give this a try and see if this works (patch is for trunk): https://issues.apache.org/jira/browse/SOLR-8035 <https://issues.apache.org/jira/browse/SOLR-8035> And when do we make the Angular UI the default? :) Erik > On Sep 10, 2015, at 12:26 PM,

Re: Zero Query results

2015-09-18 Thread Erik Hatcher
What's the debug info (debug=true) for that query? Did you by chance change field types or query parser? > On Sep 18, 2015, at 19:53, Mark Fenbers wrote: > > Greetings! > > Using the browser interface to run a query on my indexed data, specifying > "q=logtext:*" gives me all 9800+ documents

Re: Filter first-components result in solr.SearchHandler

2015-10-06 Thread Erik Hatcher
Could you also provide an example of the type of request you want the client to make? Note that `qf` is a (e)dismax query parser parameter, in case that’s conflicting for you. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Oc

Re: Filter first-components result in solr.SearchHandler

2015-10-06 Thread Erik Hatcher
Seems like Solr’s QueryElevationComponent is what would suit your needs here. Or, perhaps, adding something like this to your request: bq={!terms f=id}3,5,6,8,9 — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Oct 6, 2015, a

Re: Query Keyword Storage

2015-10-09 Thread Erik Hatcher
/LucidWorks/banana <https://github.com/LucidWorks/banana>). We, at Lucidworks, wrap all this up into our [excuse the commercial interruption] platform Fusion. Fusion logs (optionally) all requests to the query pipeline to a logs collection and drive the Silk (banana) dashboard from that.

Re: Lucene Revolution ?

2015-10-18 Thread Erik Hatcher
27;ve been to to date (til next years Revolution). Don't miss the next one :) Re ES/AWS: what about it? Solr is a first class AWS citizen, employing Solr folks, and certainly where many of our customers deploy their infrastructure, Solr, Fusion, etc. Erik > On Oct 18, 2015, at 0

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Erik Hatcher
ish what you need? If not, please detail what you’re after and we’ll try to help. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Oct 22, 2015, at 6:20 AM, Roxana Danger > wrote: > > Hello,

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Erik Hatcher
Setting “update.chain” in the DataImportHandler handler defined in solrconfig.xml should allow you to specify which update chain is used. Can you confirm that works, Shawn? This is from DataImportHandler.java: UpdateRequestProcessorChain processorChain = req.getCore().getUpdateProces

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-22 Thread Erik Hatcher
in case that matters) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com Index: src/test-files/dih/solr/collection1/conf/contentstream-solrconfig.xml === --- src/test-files/dih/solr/collection1/conf

Re: getting cached terms inside UpdateRequestProcessor...

2015-10-23 Thread Erik Hatcher
Roxana - please share your full configuration (minus passwords of course) so we can all see what the dilemma is. I can’t make sense of what you’re trying and why you’re trying it that way rather than intra-update-script-analysis. Erik > On Oct 23, 2015, at 2:49 AM, Roxana Dan

Re: Using the ExtractRequestHandler

2015-10-25 Thread Erik Hatcher
orking for you and where specifically you need assistance. Also, perhaps give `bin/post` a try - see https://lucidworks.com/blog/2015/08/04/solr-5-new-binpost-utility/ <https://lucidworks.com/blog/2015/08/04/solr-5-new-binpost-utility/> for more details — Erik Hatcher, Senior Solutio

Re: Analytics using Solr

2015-10-25 Thread Erik Hatcher
For sure! It’s a very common way our customers are leveraging Solr (and our platform, Fusion) along with banana (/Silk) dashboards. What kind of analytics are you aiming to achieve? Chances are, Solr’s got your needs covered. — Erik Hatcher, Senior Solutions Architect http

Re: Using books.json in solr

2015-10-27 Thread Erik Hatcher
queried). Try q=genre_s:fantasy (after reindexing) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Oct 27, 2015, at 2:35 PM, Salonee Rege wrote: > > { > "id" : "978-1423103349", > "ca

Re: Autocomplete prototype using Velocity UI Browse - Solritas

2015-10-28 Thread Erik Hatcher
What version of Solr? Solr 5’s data driven configuration is set up to use a generic browse interface that does not have any auto-suggest wired in by default. How did you create your collection? You just want to turn off the terms suggest thing? — Erik Hatcher, Senior Solutions Architect

Re: Autocomplete prototype using Velocity UI Browse - Solritas

2015-10-28 Thread Erik Hatcher
ook at Solr’s example/files (see README on the quick start of that). It’s got instant search wired in to that. Index some docs / web crawl and see how it behaves for inspiration. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Oct

Re: Using Nutch segments

2015-10-28 Thread Erik Hatcher
$ bin/solr create -c nutch_collection $ … solrindex $ # *cough* bin/post -c nutch_collection some_sample_data_to_iterate_on.json.csv.xml.pdf.doc.whatever $ # rinse repeat Does that help, Salonee? Erik > On Oct 28, 2015, at 3:53 PM, Salonee Rege wrote: > > We are directly

Re: Solr facet query(critical solr query response)

2015-11-04 Thread Erik Hatcher
Shouldn't td have s2=1 also? Try this: facet.pivot=vi,vk > On Nov 4, 2015, at 03:23, Mugeesh Husain wrote: > > i am facing issue of how to get below response from solr query. > > In my table, i have a two column vi and vk which has below values: > > row1: vi:["ta"] ,vk:["s1"] > row2:

Re: Security Problems

2015-11-10 Thread Erik Hatcher
Front it with request handler(s) and get security for free :) (top level not cite specific it'd have to be) > On Nov 10, 2015, at 14:24, Upayavira wrote: > > Noble, > > I get that a UI which is open source does not benefit from ACL control - > we're not giving away anything that isn't public (

Re: Multiple unique key in Schema

2015-11-17 Thread Erik Hatcher
Make each document have a composite unique key: user-1, user-2, review-1,... Etc. Easier said than done if you're just posting the CSV directly to Solr but an update script could help. Or perhaps use the UUID auto id feature. Erik > On Nov 17, 2015, at 08:14, Mugeesh Husai

Re: Multiple unique key in Schema

2015-11-17 Thread Erik Hatcher
Fair point indeed. Depends on how your update process works though. One can do the trick of assigning batch numbers to an indexing run and deleting documents that aren’t from that reindexing run for example, so it’s not necessary to overwrite documents to “replace” them per se. Erik

Re: geolocation search ignores distance parameter

2015-11-22 Thread Erik Hatcher
Looks like your query doesn't actually make geofilt be an actual fq parameter. > On Nov 22, 2015, at 19:39, PeterKerk wrote: > > Why is the result below returned even though I'm filtering in a radius of 20 > from geocoordinates defined in pt parameter in the querystring? > As you can see the re

Re: Synonyms in Search Results and More Accurate Matches

2015-12-01 Thread Erik Hatcher
One technique that works well is to use copyField to end up with two indexed fields, one with synonyms, one without. Then you can qf=title^5 title_with_synonyms^1 with edismax and weight the “exacter” field higher than one with synonyms. — Erik Hatcher, Senior Solutions Architect http

Re: indexing rich data from directory using solarium

2015-12-02 Thread Erik Hatcher
Gora - SimplePostTool actually already adds the literal.id parameter* when in “auto” mode (and it’s not an XML, JSON, or CSV file). Erik * See https://github.com/apache/lucene-solr/blob/d4762c1a2677a44c8a580b97239e1e91a25d/solr/core/src/java/org/apache/solr/util

Re: Wildcard searches - field:aaaa* works but field:a*a does not

2015-12-03 Thread Erik Hatcher
You don't need to ngram at all if your queries themselves are going to be wildcarded. Erik > On Dec 3, 2015, at 17:21, Kelly, Frank wrote: > > Hello Lucene Folks, > > Newbie here - I've found how Solr does Wildcard searches of the form &

Re: schema fileds and Typefield in solr-5.3.1

2015-12-04 Thread Erik Hatcher
ogies that bin/post isn’t Windows savvy at this point, but you’ve got the hang of the Windows-compatible command-line it looks like. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Dec 4, 2015, at 11:44 AM, kostali hassan wrote: > > thank you Erick, i follow

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

2015-12-15 Thread Erik Hatcher
clean, straightforward path from DIH and Tika embedded inside a real Solr cluster to leveraging and scaling it on its own. We’d lose the DIH admin UI, but that’s ok by me. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Dec 15, 2015, at

Re: Having a spot of trouble setting up /browse

2015-02-17 Thread Erik Hatcher
- need to the ’s included like in Solr’s 4.10.3 example collection1 configuration as well as the conf/velocity files. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Feb 16, 2015, at 8:44 PM, Alexandre Rafalovitch wrote: >

Re: solr output in custom json format

2015-02-18 Thread Erik Hatcher
I think what ideally is needed here is an implementation for this open issue: <https://issues.apache.org/jira/browse/SOLR-3479 <https://issues.apache.org/jira/browse/SOLR-3479>> — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/&g

Re: what order does solr return the results in if the search is *:*

2015-02-19 Thread Erik Hatcher
It’ll return them in order of them being indexed, generally. If documents are being updated (delete/re-add, effectively) then order would change but still by default ordered as they are in the underlying Lucene index. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <h

Re: highlighting the boolean query

2015-02-24 Thread Erik Hatcher
that convert to spans, which are accurate to the exact matches within the document. Been a while since I dug into the HighlightComponent, so maybe there’s some other options available out of the box? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.

Re: Getting started with Solr

2015-02-26 Thread Erik Hatcher
How did you start Solr? If you started with `bin/solr start -e cloud` you’ll have a gettingstarted collection created automatically, otherwise you’ll need to create it yourself with `bin/solr create -c gettingstarted` — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <h

Re: Getting started with Solr

2015-02-26 Thread Erik Hatcher
of http://localhost:8983/solr/admin/cores <http://localhost:8983/solr/admin/cores> ? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Feb 26, 2015, at 9:58 AM, Baruch Kogan wrote: > > Oh, I see. I used the start -e cl

Re: Core admin: create new core

2015-03-06 Thread Erik Hatcher
Try - bin/solr create -c inventory > On Mar 6, 2015, at 05:25, manju16832003 wrote: > > Solr 5 has been released. I was just giving a try and come across the same > issue. As I heard over from some documentation, Solr 5 doesn't come with > default core (example in earlier versions). And

Re: Word frequency

2015-03-13 Thread Erik Hatcher
Do you mean like faceting on one of your full text fields? Something like /browse?facet.field=_text or one of your other fields? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 13, 2015, at 4:16 AM, phi...@free

Re: TooManyBasicQueries?

2015-03-13 Thread Erik Hatcher
It results from a surround query with too many terms. Says the javadoc: * Exception thrown when {@link BasicQueryFactory} would exceed the limit * of query clauses. I’m curious, are you issuing a large {!surround} query or is it expanding to hit that limit? — Erik Hatcher, Senior Solutions

Re: Nginx proxy for Solritas

2015-03-16 Thread Erik Hatcher
rules. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 16, 2015, at 3:39 PM, LongY wrote: > > Dear Community Members, > > I have searched over the forum and googled a lot, still didn't find the > solution.

Re: Nginx proxy for Solritas

2015-03-16 Thread Erik Hatcher
Have a look at the requests being made to Solr while using /browse (without nginx) and that will show you what resources need to be accessible. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 16, 2015, at 4:42 PM, Lon

Re: Creating facets based on the content field

2015-03-23 Thread Erik Hatcher
Philippe - can you provide a concrete example of what you mean by creating facets on field’s content? Or maybe rather, what’s missing from doing &facet.field=content currently? Erik > On Mar 23, 2015, at 10:48 AM, phi...@free.fr wrote: > > Hello, > > let's sa

Re: TooManyBasicQueries?

2015-03-24 Thread Erik Hatcher
a surround query parser could be asked for. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 24, 2015, at 8:55 AM, Ian Rose wrote: > > Hi Erik - > > Sorry, I totally missed your reply. To the best of my kn

Re: Solr advanced StopFilterFactory

2015-03-27 Thread Erik Hatcher
goal / use case is for this feature, which may help us better guide you on ways to do what you need. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com <http://www.lucidworks.com/> > On Mar 27, 2015, at 8:32 AM, Alex Sylka wrote: > > We need advanced stop

  1   2   3   4   5   6   7   8   9   10   >