Re: Problem with solr deployment on weblogic 10.3

2013-04-24 Thread Shawn Heisey
On 4/24/2013 10:47 PM, Radhakrishna Repala wrote: > I'm new to solr, while deploying solr in weblogic got following exception. > Please help me in this regard. > > Error 500--Internal Server Error > > java.lang.NoSuchMethodError: replaceEach The replaceEach method is included in Apache commons-l

Problem with solr deployment on weblogic 10.3

2013-04-24 Thread Radhakrishna Repala
I'm new to solr, while deploying solr in weblogic got following exception. Please help me in this regard. Error 500--Internal Server Error java.lang.NoSuchMethodError: replaceEach at org.apache.solr.servlet.LoadAdminUiServlet.doGet(LoadAdminUiServlet.java:70) at javax.servlet.http.HttpServlet.ser

Fwd: Problem while deploying solr in weblogic

2013-04-24 Thread Radhakrishna Repala
I'm new to solr, after deploying solr in weblogic and accessing got following exception. Please help me in this regard. Error 500--Internal Server Error java.lang.NoSuchMethodError: replaceEach at org.apache.solr.servlet.LoadAdminUiServlet.doGet(LoadAdminUiServlet.java:70) at jav

Re: what is the maximum XML file size to import?

2013-04-24 Thread Sharmila Thapa
Yes, I have again tried to post the XML of size 2.02GB, now it throws a different error message While searching the cause for this error message it is found that java's setFixedLengthStreamingMode method throws this error. Reference:Docu

Hierarchical Facets filter the current(or first) level?

2013-04-24 Thread cmd.ares
since the path is very large,so i want to show the path like dos commend cmd>dir /ad ratherthan cmd>dir /s/ad how to filer the query faceting?It would be return the first level only!to be like this: 1674480 123123

Re: Solr consultant recommendation

2013-04-24 Thread Otis Gospodnetic
Hi Christian, We (Sematext) do a ton of performance/tuning and scaling/architecture work around Solr and ElasticSearch and run a performance monitoring SaaS called SPM that you may be interested in, as it captures a bunch of Solr and server metrics. Nobody in Denmark, but we have several folks in

Re: Using Solr For a Real Search Engine

2013-04-24 Thread Otis Gospodnetic
Suggestion : Don't call this embedded Jetty to avoid confusion with the actual embedded jetty. Otis Solr & ElasticSearch Support http://sematext.com/ On Apr 23, 2013 4:56 PM, "Furkan KAMACI" wrote: > Thanks for the answers. I will go with embedded Jetty for my SolrCloud. If > I face with somethi

Re: How to let Solr load libs from within my JAR?

2013-04-24 Thread Xi Shen
Thanks guys! :) On Thu, Apr 25, 2013 at 12:46 AM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > If you want to pack JARs inside JARs, you can use something that does > classloader magic like One-JAR, but it's usually good to avoid things > like that unless you really need the

Re: Pushing a whole set of pdf-files to solr

2013-04-24 Thread Jack Krupansky
Your errors may simply have been improperly encoded documents. Or some encoding that is not supported. Hard to say. Start with a simple case, then build on success. I think you're just trying to do too much all at once. Do one PDF file first, then work up to a directory, and only when you've m

Re: Pushing a whole set of pdf-files to solr

2013-04-24 Thread sdspieg
(Just documenting my experiences). I stopped and restarted solr in the tomcat web application manager. Everything seems fine And yet I still get that same error message. -- View this message in context: http://lucene.

Re: Indexing PDF Files

2013-04-24 Thread Jack Krupansky
Does the stock Solr example work for document import? Here's a sample command that I use: curl "http://localhost:8983/solr/update/extract?literal.id=doc1&fmap.content=features&commit=true"; -F "myfile=@myfile.PDF" That works with the stock Solr example, without any changes. At least get tha

Re: Solr 4.3: Too late to improve error messages?

2013-04-24 Thread Alexandre Rafalovitch
Thanks Shawn, I will create a JIRA. I just wasn't sure if there was another RC afterwards and it could fit in there. Not very familiar with process yet. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality

Re: Pushing a whole set of pdf-files to solr

2013-04-24 Thread sdspieg
I am still struggling with this. I have solr 4.2.1.2013.03.26.08.26.55 installed. So are you telling me that I should somehow install the older version of that tool that comes with Solr 3.x? Because with the newer version I get the errors I already mentioned. Now I suppose I may be an untypical use

Re: SolrException: copyField dest :'author_s' is not an explicit field and doesn't match a dynamicField.

2013-04-24 Thread Steve Rowe
Alexandre, Furkan reports an error about a copyField *dest* - SOLR-4567 was about the copyField *source*, and the fix was included in 4.2.1. In order for copyFields to work, the dest *must* match a field or dynamicField declaration in the schema - otherwise there's no way to know what type the

Re: Solr 4.3: Too late to improve error messages?

2013-04-24 Thread Shawn Heisey
On 4/24/2013 5:02 PM, Alexandre Rafalovitch wrote: I am testing 4.3rc3. It looks ok, but I notice that some log messages could be more informative. For example: 680 [coreLoadExecutor-3-thread-3] WARN org.apache.solr.schema.IndexSchema – schema has no name! Would be _very nice_ to know which cor

Re: Indexing PDF Files

2013-04-24 Thread Jan Høydahl
In your schema you have written > class="solr.StrField" /> Note that XML tag and param names are case sensitive, so instead of fieldtype you should use fieldType I see that you have the same error for several fieldTypes in your schema, probably resulting in other similar errors too. -- Jan H

Re: SolrException: copyField dest :'author_s' is not an explicit field and doesn't match a dynamicField.

2013-04-24 Thread Furkan KAMACI
Yes, I use 4.2.1, thanks. 2013/4/25 Alexandre Rafalovitch > You are running 4.2, right? > > If you searched mailing list, you would probably find that this is a > regression: https://issues.apache.org/jira/browse/SOLR-4567 > > Should be fixed in 4.3 (I reported this originally and it works in 4.

Re: Indexing PDF Files

2013-04-24 Thread Furkan KAMACI
Hi Alex; What do you mean with wrong case. Could you tell me what should I do? 2013/4/25 Alexandre Rafalovitch > You still seem to have 'fieldtype' with wrong case. Can you try that > simple thing before doing other complicated steps? And yes, restart > Solr after you change schema.xml > > Regar

Re: SolrException: copyField dest :'author_s' is not an explicit field and doesn't match a dynamicField.

2013-04-24 Thread Alexandre Rafalovitch
You are running 4.2, right? If you searched mailing list, you would probably find that this is a regression: https://issues.apache.org/jira/browse/SOLR-4567 Should be fixed in 4.3 (I reported this originally and it works in 4.3rc3). Regards, Alex. Personal blog: http://blog.outerthoughts.com/

Re: Indexing PDF Files

2013-04-24 Thread Alexandre Rafalovitch
You still seem to have 'fieldtype' with wrong case. Can you try that simple thing before doing other complicated steps? And yes, restart Solr after you change schema.xml Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time

Re: filter before facet

2013-04-24 Thread Daniel Tyreus
I'm actually using one not listed in that doc (I suspect it's new). At least with 3 or more facet fields, the FCS method is by far the best. Here are some representative numbers with everything the same except for the facet.method. facet.method = fc QTime = 3168 facet.method = enum QTime = 309

Solr 4.3: Too late to improve error messages?

2013-04-24 Thread Alexandre Rafalovitch
Hello, I am testing 4.3rc3. It looks ok, but I notice that some log messages could be more informative. For example: 680 [coreLoadExecutor-3-thread-3] WARN org.apache.solr.schema.IndexSchema – schema has no name! Would be _very nice_ to know which core this is complaining about. Later, once the

Fwd: SolrException: copyField dest :'author_s' is not an explicit field and doesn't match a dynamicField.

2013-04-24 Thread Furkan KAMACI
When I try to configure schema.xml within example folder and start jar file I get that error: org.apache.solr.common.SolrException: copyField dest :'author_s' is not an explicit field and doesn't match a dynamicField. There is nothing about it at example schema.xml file?

Re: Indexing PDF Files

2013-04-24 Thread Furkan KAMACI
Here is my definition for handler: text true attr_ true 2013/4/25 Furkan KAMACI > I just want to search on rich documents but I still get same error. I have > copied example folder into anywhere else at my computer. I have copied dist > and contrib folders from my build folder into that

Re: Indexing PDF Files

2013-04-24 Thread Furkan KAMACI
I just want to search on rich documents but I still get same error. I have copied example folder into anywhere else at my computer. I have copied dist and contrib folders from my build folder into that copy of example folder (because solr-cell etc. are within that folders) However I still get same

how to get & display Jessionid with solr results

2013-04-24 Thread gpssolr2020
Hi, We are using jetty as a container for solr 3.6. We have two slave servers to serve queries for the user request and queries distributed to any one slave through load balancer. When one user send a first search request say its going to slave1 and when that user queries again we want to send t

Re: Too many unique terms

2013-04-24 Thread Manuel LeNormand
Hey Erick, thanks for the interesting reply. Indexing unicode characters is not a problem i see, nor indexing mails. I'm alraight with defining useless a word that is unique through all my index. I will try reindexing strategy you proposed, though, as you said, having a few millions of stop words

Re: Solr consultant recommendation

2013-04-24 Thread Chris Hostetter
: Subject: Solr consultant recommendation : In-Reply-To: https://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even if you change the subjec

***Immediate requirement for Java Solr search consultant at Bothell, WA***

2013-04-24 Thread dwayne
Hello Professionals, This is DWAYNE from KRG Technologies; KRG is headquartered in Valencia, CA – Incorporated in 2003, currently have over 200 consultants. We are specialized in providing Staffing Services Solutions in Americas. We are a Tier1 vendor in providing Professional Services on diversif

Re: filter before facet

2013-04-24 Thread Alexandre Rafalovitch
What's your facet.method? Have you tried setting it both ways? http://wiki.apache.org/solr/SimpleFacetParameters#facet.method Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events

Re: Indexing PDF Files

2013-04-24 Thread Erik Hatcher
Did you restart after adding those fields and types? On Apr 24, 2013, at 16:59, Furkan KAMACI wrote: > I have added that fields: > > > stored="true" multiValued="true"/> > > > and I have that definition: > > class="solr.StrField" /> > > here is my error: > > > > > 400 > 4154 > > >

Re: Indexing PDF Files

2013-04-24 Thread Alexandre Rafalovitch
Wrong case for ? Though I would have through Solr would complaint about that when it hits dynamicField with unknown type. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events fro

filter before facet

2013-04-24 Thread Daniel Tyreus
We're testing SolrCloud 4.1 for NRT search over hundreds of millions of documents. I've been really impressed. The query performance is so much better than we were getting out of our database. With filter queries, we're able to get query times of less than 100ms under moderate load. That's amazing

Re: Indexing PDF Files

2013-04-24 Thread Furkan KAMACI
I have added that fields: and I have that definition: here is my error: 400 4154 ERROR: [doc=1] unknown field 'ignored_meta' 400 What should I do more? 2013/4/24 Erik Hatcher > Also, at Solr startup time it logs what it loads from those > elements, so you can see whether it is

RE: Error while starting Solr on Websphere

2013-04-24 Thread Van Tassell, Kristian
Thanks for the reply. I have setup Solr on Jetty, Tomcat, JBoss and WebLogic (we have to be able to deploy to multiple server types for our doc). On this particular machine, I've set up WebLogic as well with the same Solr home (although WebLogic is stopped at the moment so they don't compete ov

RE: Error while starting Solr on Websphere

2013-04-24 Thread divz80
I never got it to work on Websphere 8.5. We are using Websphere 7 in production, so I deployed the same app (no changes) and it worked on Websphere 7. -- View this message in context: http://lucene.472066.n3.nabble.com/Error-while-starting-Solr-on-Websphere-tp4049583p4058707.html Sent from the

Re: Error while starting Solr on Websphere

2013-04-24 Thread Gora Mohanty
On 25 April 2013 01:42, Van Tassell, Kristian wrote: > I'm having this same issue (versions and all). Was there ever a response to > this question? I can't seem to find one. Thanks in advance! [...] As the error message says, my first guess would be that solr/home is not set properly. Please se

Re: full-import takes 4 days(48 hours) to complete where main db table size 700k only

2013-04-24 Thread Michael Della Bitta
How long do those query take to execute and return all it's rows outside of DataImportHandler? I'd bring those queries into SQL Developer and get an explain plan on them to find out if any of them are much slower than the other. You might have "only" 700k documents for your index, but you're issu

RE: Error while starting Solr on Websphere

2013-04-24 Thread Van Tassell, Kristian
I'm having this same issue (versions and all). Was there ever a response to this question? I can't seem to find one. Thanks in advance! >From divz80 Subject Error while starting Solr on Websphere Date Wed, 20 Mar 2013 23:13:07 GMT Hi, i'm attempting to setup Solr 4.2.0 o

Re: full-import takes 4 days(48 hours) to complete where main db table size 700k only

2013-04-24 Thread Alexandre Rafalovitch
1) You may have a small primary table but for each ID in it, you seem to be calling another 6 tables with nested SQL queries. Perhaps you need to cache those calls: http://wiki.apache.org/solr/DataImportHandler#CachedSqlEntityProcessor 2) You seem to be double-dipping into the main table tab_story

full-import takes 4 days(48 hours) to complete where main db table size 700k only

2013-04-24 Thread srinalluri
Hi, Environment is Solr 3.6.1. The database is having enough indexes. The box is having enough memory. The DB is performance is good. Auto commit is enabled for every 1 minute. Please see the following entity. The full-import of this entity is taking over 48 hours to complete on production enviro

Re: SOLR 4.3

2013-04-24 Thread William Bell
OK I did not see it on the latest 4.3 RC3. On Wed, Apr 24, 2013 at 4:52 AM, Jan Høydahl wrote: > As you can see on the issue, it is already fixed for 4.3 > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > Solr Training - www.solrtraining.com > > 24. apr. 2013 k

How do set compression for compression on stored fields in SOLR 4.2.1

2013-04-24 Thread William Bell
https://issues.apache.org/jira/browse/LUCENE-4226 It mentions that we can set compression mode: FAST, HIGH_COMPRESSION, FAST_UNCOMPRESSION. -- Bill Bell billnb...@gmail.com cell 720-256-8076

Re: Update on shards

2013-04-24 Thread Mark Miller
Sorry - need to correct myself - updates worked the same as read requests - they also needed to hit a SolrCore in order to get forwarded to the right node. I was not thinking clearly when I said this applied to just reads and not writes. Both needed a SolrCore to do their work - with the request

Re: Noob question: why doesn't this query work?

2013-04-24 Thread Shawn Heisey
On 4/24/2013 12:13 PM, Brian Hurt wrote: If the boolean layout you have is really what you want, then you need to change the negation queries to (*:* -query) instead, because pure negative queries are not supported. That syntax says "all documents except those that match the query." For simple

Re: solr.StopFilterFactory doesn't work with wildcard

2013-04-24 Thread Chris Hostetter
: In any case, technically, the stop filter is doing exactly what it is supposed : to do. Jack has kind of glossed over some key questions here... 1) why are you using StopFilterFactory in your "multiterm" analyzer like this? 2) what do you expect it to do if "series" is in your stopwords and

Re: Noob question: why doesn't this query work?

2013-04-24 Thread Chris Hostetter
: This could be the problem. This is query is machine generated, so I don't : care how ugly it is. Does this apply even to inner queries? I.e., should : that last clause be (*:* -i_4:6142E=m") instead of (NOT I-4:"6142E=m")? yes -- you can't exclude "6142E=m" w/o defining what set (ie: the set

Re: Noob question: why doesn't this query work?

2013-04-24 Thread Brian Hurt
Thanks for your reponse. You've given me some solid leads. On Wed, Apr 24, 2013 at 11:25 AM, Shawn Heisey wrote: > On 4/24/2013 8:59 AM, Brian Hurt wrote: > > So, I'm executing the following query: > > id:"6178dB=@Fm" AND i_0:"613OFS" AND (i_3:"6111" OR i_3:"1yyy\~") AND > (NOT > > id:"6178ZwW

RE: DirectSolrSpellChecker : vastly varying spellcheck QTime times.

2013-04-24 Thread Dyer, James
When getting collations there are two steps. First, the spellchecker gets individual word choices for each misspelled word. By default, these are sorted by string distance first, then document frequency second. You can override this by specifying freq in your spellchecker component configurat

RE: DirectSolrSpellChecker : vastly varying spellcheck QTime times.

2013-04-24 Thread SandeepM
One of our main concerns is the solr returns the best match based on what it thinks is the best. It uses Levenshtein's distance metrics to determine the best suggestions. Can we tune this to put more weightage on the number of frequency/hits vs the number of edits ? If we can tune this, sugge

Re: Solr indeing Partially working

2013-04-24 Thread Gora Mohanty
On 24 April 2013 22:22, Michael Della Bitta wrote: > "solrservice.php" and the text of that error both sound like parts of > Typo3... they're definitely not part of Solr. You should ask on a list > devoted to Typo3 to figure out what to do in this situation. It likely > won't involve reconfiguring

SOLR Install

2013-04-24 Thread Peri Subrahmanya
I m trying to use solr as part of another maven based web application. I m not sure how to wire the two war files. Any help please? I found this documentation in SOLR but unsure how to go about it. Thank you, Peri Subrahmanya On 4/24/13 12:52 PM, "Michael Della Bitta" wrote: >"solrs

Re: Solr indeing Partially working

2013-04-24 Thread Michael Della Bitta
"solrservice.php" and the text of that error both sound like parts of Typo3... they're definitely not part of Solr. You should ask on a list devoted to Typo3 to figure out what to do in this situation. It likely won't involve reconfiguring Solr. Michael Della Bitta ---

Re: Deletes and inserts

2013-04-24 Thread Michael Della Bitta
We're using aliases to control visibility of collections we rebuild from scratch nightly. It works pretty well. If you run CREATEALIAS again, it'll switch to a new one, not augment the old one. If for some reason, you want to bridge more than one collection, you can add more than one collection to

Re: How to let Solr load libs from within my JAR?

2013-04-24 Thread Michael Della Bitta
If you want to pack JARs inside JARs, you can use something that does classloader magic like One-JAR, but it's usually good to avoid things like that unless you really need them. Alternatively, you could look at something that unpacks jars and reassembles them into a new JAR, like the Maven Assembl

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Mark Miller
On Apr 24, 2013, at 12:22 PM, Timothy Potter wrote: > I like the idea of running a script vs. kill -9 ;-) Right now when a > node fails, we have monitors for whether a node is up and serving > queries. If not, that triggers some manual investigation and restart > process. Part of the process was

Deletes and inserts

2013-04-24 Thread Jon Strayer
We are using a Solr collection to serve auto complete suggestions. We'd like for the update to be without any noticeable delay for the users. I've been looking at adding new cores, loading them with the new data and then swapping them with the current ones, but but I don't see how that would work

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Timothy Potter
I like the idea of running a script vs. kill -9 ;-) Right now when a node fails, we have monitors for whether a node is up and serving queries. If not, that triggers some manual investigation and restart process. Part of the process was to capture the logs and heap dump file. What happened previous

Solr indeing Partially working

2013-04-24 Thread vishal gupta
Hi i am using Solr 4.2.0 and extension 2.8.2 with Typo3. Whever I try to do indexing pages and news pages It gets only 3.29% indexed. I checked a developer log and found error in solrservice.php. And in solr admin it is giving "Dups is not defined please add it". What should i do in this case? If

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Mark Miller
On Apr 24, 2013, at 12:00 PM, Mark Miller wrote: >> -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError The way I like to handle this is to have the OOM trigger a little script or set of cmds that logs the issue and kills the process. Then if you have the process supervised (v

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Mark Miller
Yes, I recommend this. You can't predict a JVM that has had an OOM - so it's best to neutralize it. We have seen cases where the node was messed up but still advertised as active and good in zk due to OOM's. Behavior after an OOM is undefined. I was actually going to ask if you were positive yo

Re: Solr faceted search UI

2013-04-24 Thread richa
Hi Maj, Thanks for your suggestion. Tell me one thing, do you have any example on solrj? suppose I decide to use solrj in simple web application, to display faceted search on web page. Where will this fit into? what will be the flow? Please suggest. Thanks On Wed, Apr 24, 2013 at 11:01 AM, Maj

Re: Solr 3.6.1: changing a field from stored to not stored

2013-04-24 Thread Jan Høydahl
> I would create a new core as slave of the existing configuration without > replicating the core schema and configuration. This way I can get the This won't work, as master/slave replication copies the index files as-is. You should re-index all your data. You don't need to take down the cluster

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Timothy Potter
Just verifying that it is also recommended to use the JVM options to kill on OOM? I vaguely recall a message from Mark about this sometime ago: -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError On Wed, Apr 24, 2013 at 9:13 AM, Mark Miller wrote: > > On Apr 24, 2013, at 4:02 AM,

Re: Solr faceted search UI

2013-04-24 Thread Alexandre Rafalovitch
I tried previous version of blacklight (on a Mac) and was able to get it to the demo stage without much RoR knowledge. The facet field declarations were all in the config files. You should be able to get a go/nogo decision in under four hours. Regards, Alex. Personal blog: http://blog.outerthou

Re: Noob question: why doesn't this query work?

2013-04-24 Thread Shawn Heisey
On 4/24/2013 8:59 AM, Brian Hurt wrote: > So, I'm executing the following query: > id:"6178dB=@Fm" AND i_0:"613OFS" AND (i_3:"6111" OR i_3:"1yyy\~") AND (NOT > id:"6178ZwWj5m" OR numfields:[* TO "6114"] OR d_4:"false" OR NOT > i_4:"6142E=m") > > It's machine generated, which explains the redundanc

Re: Solr faceted search UI

2013-04-24 Thread richa
Thank you very much for your suggestion. This is only for PoC. As you suggested about blacklight, can I run this on windows and to build PoC do I have to have ruby on rails knowledge? Irrespective of any technology and considering the fact that in past I had worked on java, j2ee what would you su

Re: Solr - WordDelimiterFactory with Custom Tokenizer to split only on Boundires

2013-04-24 Thread Jack Krupansky
The WDF "types" will treat a character the same regardless of where it appears. For something conditional, like dot between letters vs. dot lot preceded and followed by a letter, you either have to have a custom tokenizer or a character filter. Interesting that although the standard tokenize

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Mark Miller
On Apr 24, 2013, at 4:02 AM, Furkan KAMACI wrote: > Lucidworks Solr Guide says that: > > "If you are using Sun's JVM, add the -server command-line option when you > start Solr. This tells the JVM that it should optimize for a long running, > server process. If the Java runtime on your system is

Re: ranking score by fields

2013-04-24 Thread Majirus FANSI
Hi Alex, Back to your original requirement, I think you can do the job at the client side. As Erik noted, highlighter component can help. You are right it marks terms but not search text. But analyzing the search text with the appropriate analyzer will give you the terms of your text as used by

Re: Re: Support of field variants in solr

2013-04-24 Thread Alexandre Rafalovitch
You can certainly specify all your aliases in the request. The request handler is just there to simplify the client by allowing it to specify a different URL with everything else mapped on the server. And, of course, with request handler you can lock the parameters to force them. Regarding languag

Re: Book text with chapter line number

2013-04-24 Thread Alexandre Rafalovitch
It seems that the normal use case is line=document with some exception for cross-line indexing. The edge case could be solved by either indexing additional 'two-line' documents with lower boost or to have 'context' field with line before/after where applicable (e.g. within same para). Then there

Re: Solr faceted search UI

2013-04-24 Thread Majirus FANSI
Hi richa, You can use solrJ (http://wiki.apache.org/solr/Solrj#Reading_Data_from_Solr) to query your solr index. On the wiki page indicated, you will see example of faceted search using solrJ. 2009 article by Yonik available on searchhub is

Re: Solr faceted search UI

2013-04-24 Thread Erik Hatcher
It's a pretty subjective and opinionated kinda thing here, as UIs are built with all sorts of technologies and even though I'm quite opinionated about how *I* would build something I work with a lot of folks that have their own preferences or organizational standards/constraints on what they can

Noob question: why doesn't this query work?

2013-04-24 Thread Brian Hurt
So, I'm executing the following query: id:"6178dB=@Fm" AND i_0:"613OFS" AND (i_3:"6111" OR i_3:"1yyy\~") AND (NOT id:"6178ZwWj5m" OR numfields:[* TO "6114"] OR d_4:"false" OR NOT i_4:"6142E=m") It's machine generated, which explains the redundancies. The problem is that the query returns no resul

Re: JVM Parameters to Startup Solr?

2013-04-24 Thread Shawn Heisey
On 4/24/2013 2:02 AM, Furkan KAMACI wrote: > Lucidworks Solr Guide says that: > > "If you are using Sun's JVM, add the -server command-line option when you > start Solr. This tells the JVM that it should optimize for a long running, > server process. If the Java runtime on your system is a JRE, ra

Re: Update on shards

2013-04-24 Thread Arkadi Colson
Thx! On 04/24/2013 04:46 PM, Shawn Heisey wrote: On 4/24/2013 12:49 AM, Arkadi Colson wrote: We are using tomcat so we'll just wait. Hopefully it's fixed in 4.3 but we have a work around for now so... What exactly is the difference between jetty and tomcat. We are using tomcat because we've re

Re: Update on shards

2013-04-24 Thread Shawn Heisey
On 4/24/2013 12:49 AM, Arkadi Colson wrote: > We are using tomcat so we'll just wait. Hopefully it's fixed in 4.3 but > we have a work around for now so... > > What exactly is the difference between jetty and tomcat. We are using > tomcat because we've read somewhere that it should be more robust

Solr faceted search UI

2013-04-24 Thread richa
Hi, I am working on a POC, where I have to display faceted search result on web page. can anybody please help me to suggest what all set up I need to configure to display. I would prefer java technologies. Just to mention, I have solr cloud running on remote server. I would like to know: 1. Should

Re: solr.StopFilterFactory doesn't work with wildcard

2013-04-24 Thread Jack Krupansky
Well, what is happening is that the query parser detects a "prefix query" ("series*") and then does a term analysis on the prefix alone ("series"), which you probably have in your stop words list, which causes the analyzer to return... nothing, which is what the error is complaining about. You

Re: Book text with chapter line number

2013-04-24 Thread Paul Libbrecht
It's easy to then store a map of "term position" to line-number and page-number along with each paragraph, or? Paul On 24 avr. 2013, at 16:24, Timothy Potter wrote: > Chapter seems too broad and line seems too narrow -- have you thought > about paragraph level? Something like: > > docID, book

Re: Book text with chapter line number

2013-04-24 Thread Timothy Potter
Chapter seems too broad and line seems too narrow -- have you thought about paragraph level? Something like: docID, book fields (title, author, publisher, etc), chapter fields (#, title, pages, etc), section fields (title, #, etc), sub-sectionN fields, paragraph text, lines Seems like line #'s wo

Re: Fields issue 4.2.1

2013-04-24 Thread Jack Krupansky
Field names don't absolutely have to follow Java naming conventions, but if they don't then they are not GUARANTEED to work in all contexts in Solr. The fl parameter is one of those contexts. You can work around it by using a function query: field(1234566_user) -- Jack Krupansky -Original

Re: Indexing PDF Files

2013-04-24 Thread Erik Hatcher
Also, at Solr startup time it logs what it loads from those elements, so you can see whether it is loading the files you intend to or not. Erik On Apr 24, 2013, at 10:05 , Alexandre Rafalovitch wrote: > Have you tried using absolute path to the relevant urls? That will > cleanly split

Re: Indexing PDF Files

2013-04-24 Thread Alexandre Rafalovitch
Have you tried using absolute path to the relevant urls? That will cleanly split the problem into 'still not working' and 'wrong relative path'. Regards, Alex. On Wed, Apr 24, 2013 at 9:02 AM, Furkan KAMACI wrote: > > Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.li

RE: ranking score by fields

2013-04-24 Thread Каскевич Александр
Highlighter doesn’t help me. It mark terms but not search text. F.e. I have doc with field1="apache lucene", field2="apache solr". I search "apache solr" with "AND" default option. I found this doc with highlighted field1="apache lucene". This is bad result for me. Look I want to do something l

Re: Solr 3.6.1: changing a field from stored to not stored

2013-04-24 Thread Majirus FANSI
I would create a new core as slave of the existing configuration without replicating the core schema and configuration. This way I can get the information from one index to the other while saving the space as fields in the new schema are mainly not stored. After the replication I would swap the cor

Re: Autocommit and replication have been slowing down

2013-04-24 Thread gustavonasu
Hi Shawn, Thanks for the lesson! I really appreciate your help. I'll figure out a way to use that knowledge to solve my problem. Best Regards -- View this message in context: http://lucene.472066.n3.nabble.com/Autocommit-and-replication-have-been-slowing-down-tp4058361p4058584.html Sent from

Re: Solr as a jar file with Embedded Jetty

2013-04-24 Thread Erik Hatcher
I'm not following exactly what you want, but the recommendation you'll get from the majority of folks is to simply use Solr's example/ directory as a starting point. start.jar is Jetty and it's how most of us deploy Solr, and I'll recommend going that route. Solr in Jetty is a .war file. If

solr.StopFilterFactory doesn't work with wildcard

2013-04-24 Thread Dmitry Baranov
Good day! I have a problem with the solr.StopFilterFactory and wildcard text search. For query like this 'hp* pavilion* series* d4*', where 'series' is stop word, I recieve error: 'analyzer returned no terms for multiTerm term: series' But for query like this 'hp* pavilion* series d4*', I recieve

Solr as a jar file with Embedded Jetty

2013-04-24 Thread Furkan KAMACI
Hi; I am new to Solr and I was using Solr as war file and deploying it into Tomcat. However I decided to use Solr as jar file with Embedded Jetty. I was doing like that: when I run "dist" at ant I get .war file of Solr and used to deploy to Tomcat. I want to use it as a jar file as like start.jar u

Re: Querying only for "+" character causes org.apache.lucene.queryParser.ParseException

2013-04-24 Thread Jorge Luis Betancourt Gonzalez
One more thing: The hack that you commented when the query is a combination of restricted query operators such +-, +, --++--+%, etc? In this cases the application has to deal with all this cases to. Greetings! - Mensaje original - De: "Jérôme Étévé" Para: solr-user@lucene.apache.o

Re: Solr consultant recommendation

2013-04-24 Thread Charlie Hull
On 24/04/2013 11:58, Christian von Wendt-Jensen wrote: Hi We have some detailed Solr setup issues we would like to discuss with a Solr Expert (certified or self-declared), but we are having some difficulties getting in contact with anyone here in Copenhagen, Denmark. Therefore I would like to h

Fwd: [solr 3.4] anomaly during distributed facet query with 102 shards

2013-04-24 Thread Dmitry Kan
Hello list, We deal with an anomaly when doing a distributed facet query against 102 shards. The problem manifests itself in both the frontend solr (router) and a shard. Each time the request is executed, always different shard is affected (at random, hence the "anomaly"). The query is: http://r

Re: Too many unique terms

2013-04-24 Thread Erick Erickson
Even if you could know ahead of time, 7M stop words is a lot to maintain. But assuming that your index is really pretty static, you could consider building it once, then creating the stopword file from unique terms and re-indexing. You could consider cleaning them on the input side or creating a c

Re: Solr consultant recommendation

2013-04-24 Thread Christian von Wendt-Jensen
Actually no, I didn't. But I can see that I should have. Thanks! Med venlig hilsen / Best Regards Christian von Wendt-Jensen IT Team Lead, Customer Solutions Infopaq International A/S Kgs. Nytorv 22 DK-1050 København K Phone +45 36 99 00 00 Mobile +45 31 17 10 07 Emai

Re: Solr consultant recommendation

2013-04-24 Thread Gora Mohanty
On 24 April 2013 16:28, Christian von Wendt-Jensen wrote: > > Hi > > We have some detailed Solr setup issues we would like to discuss with a > Solr Expert (certified or self-declared), but we are having some > difficulties getting in contact with anyone here in Copenhagen, Denmark. > > Therefore I

Solr consultant recommendation

2013-04-24 Thread Christian von Wendt-Jensen
Hi We have some detailed Solr setup issues we would like to discuss with a Solr Expert (certified or self-declared), but we are having some difficulties getting in contact with anyone here in Copenhagen, Denmark. Therefore I would like to hear if anybody out there can drop me some names of Sol

Re: Fields issue 4.2.1

2013-04-24 Thread Jan Høydahl
Hi, Have you tried fl=*_user ? I think fl may try to interpret the number as a function. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com 24. apr. 2013 kl. 07:16 skrev William Bell : > I am getting no results when using dynamic fie

Re: Bug? JSON output changes when switching to solr cloud

2013-04-24 Thread Erick Erickson
Note 4.3 is being cut right now, it will probably be out next week barring unforeseen problems. Best Erick On Mon, Apr 22, 2013 at 9:11 PM, David Parks wrote: > Thanks Yonik! That was fast! > We switched over to XML for the moment and will switch back to JSON when 4.3 > comes out. > Dave > > > -

  1   2   >