ConcurrentModificationException when nesting phrases inside a proximity search (ComplexPhraseQueryParser)

2019-05-20 Thread Matthew Kay
Trying to perform a search with the following structure: query: "term1 (term2 OR \"multiword phrase term\")"~3 url: solr/collection/select?defType=complexphrase&df=text&q.OP=AND&q="term1 (term2 OR \"multiword phrase term\")"~3 This would hopefully match phrases like - term1 and term2 - term1 and

ConcurrentModificationException when nesting phrases inside a proximity search (ComplexPhraseQueryParser)

2019-05-20 Thread Matthew Kay
Trying to perform a search with the following structure: query: "term1 (term2 OR \"multiword phrase term\")"~3 url: solr/collection/select?defType=complexphrase&df=text&q.OP=AND&q="term1 (term2 OR \"multiword phrase term\")"~3 This would hopefully match phrases like - term1 and term2 - term1 and

Adding rare languages to Apache Solr

2019-03-06 Thread Kay Müller
Hello everybody,   My name is Kay and I am a Software Developer from Germany. I would like to add support for Filipino, Lao, Malaysian and Vietnamese to Solr (Solr v4 and Solr v6) and would be delighted to get hints on what Tokenizer/Analyzer to use. It seems that the ICU-Tokenizer seems to

Re: How to debug empty ParsedQuery from Edismax Query Parser

2019-01-04 Thread Kay Wrobel
n SOLR 5 since then. Can anyone closer to the matter or having struggled with this same issue chime in on the subject? Kind regards, Kay > On Dec 28, 2018, at 9:57 AM, Kay Wrobel wrote: > > Here are my log entries: > > SOLR 7.x (non-working) > 2018-12-28 15:36:32.786 INFO

Re: How to debug empty ParsedQuery from Edismax Query Parser

2019-01-02 Thread Kay Wrobel
for pointing out the capital E on echoParams. I re-ran the query, but it doesn't change the output (at least on the surface of it). > On Jan 2, 2019, at 1:11 PM, Shawn Heisey wrote: > > On 12/28/2018 8:57 AM, Kay Wrobel wrote: >> Here are my log entries: >> >> SOLR

Re: How to debug empty ParsedQuery from Edismax Query Parser

2019-01-02 Thread Kay Wrobel
is inappropriately eating > an exception relating to too many terms. > > Did 5.x impose a new or reduced limit there? > > On Wed, Jan 2, 2019, 1:20 PM Kay Wrobel >> Is there any way I can debug the parser? Especially, the edismax parser >> which does *not* raise any exc

Re: How to debug empty ParsedQuery from Edismax Query Parser

2019-01-02 Thread Kay Wrobel
t 9:57 AM, Kay Wrobel wrote: > > Here are my log entries: > > SOLR 7.x (non-working) > 2018-12-28 15:36:32.786 INFO (qtp1769193365-20) [ x:collection1] > o.a.s.c.S.Request [collection1] webapp=/solr path=/select > params={q=ac6023*&qf=tm_field_product^21.0&qf=t

Re: How to access the Solr Admin GUI (2)

2019-01-02 Thread Kay Wrobel
In case of multiple "jumps", might I suggest the -J switch which allows you to specify a jump host. Kay > On Jan 2, 2019, at 9:37 AM, Gus Heck wrote: > > I typically resolve this sort of situation with a ssh proxy such as > > ssh -f user@123.456.789.012 -L :127.

Re: How to access the Solr Admin GUI

2019-01-01 Thread Kay Wrobel
You can use ssh to tunnel in. ssh -L8983:localhost:8983 use...@myremoteserver.example.com This will only require port 22 to be exposed to the public. Sent from my iPhone > On Jan 1, 2019, at 11:43 AM, Gus Heck wrote: > > Why would you want to expose the administration gui on the web? This is

Re: How to debug empty ParsedQuery from Edismax Query Parser

2018-12-28 Thread Kay Wrobel
t; including request handler defaults. > > Regards, >Alex > > On Thu, Dec 27, 2018, 8:25 PM Shawn Heisey >> On 12/27/2018 10:47 AM, Kay Wrobel wrote: >>> Now starting from SOLR version 5+, I receive zero (0) results back, but >> more importantly, the Que

How to debug empty ParsedQuery from Edismax Query Parser

2018-12-27 Thread Kay Wrobel
ppening, and it starts as early as SOLR 5. I've been searching Google for the past week now on the matter and cannot for the life of me find an answer to this issue. So I am turning to this mailing list for any advice and assistance. Kind regards, and thanks. Kay -- The information in this e

Re: Indexing Multiple Datasources

2012-06-12 Thread Kay
Thanks for the reply jack! We tried giving each data source a name (For e.g. ds-1,ds-2 etc) but what it does is when we checked the log it establishes connection with the first data source and indexed while the second DB is getting ignored. Yes! what we wanted to try is in our system we have many

Indexing Multiple Datasources

2012-06-11 Thread Kay
Hello, We have 2 MS SQL Server Databases which we wanted to index .But most of the columns in the Databases have the same names. For e.g. Both the DB’s have the columns First name ,Last name ,etc. How can you index multiple Databases using single db-data-config file and one schema? Here is my d

Re: Interesting stuff; Solr as a syslog store.

2010-02-13 Thread Kay Kay
Thanks Antonio for sharing this. I believe this could be one of the interesting case studies for Solr In Action, if you are interested in sharing a bit more - I am sure the authors would be more interested for upcoming revisions. -- K K. On 02/12/2010 06:02 PM, Antonio Lobato wrote: Hey ev

Re: Searching .msg files

2009-12-14 Thread Kay Kay
I remember seeing a similar thread in the lucene user mailing list. You can check the archives of the same. As regarding the strategies - there could be 2 of them . * you can create an index per user and store the email content involving the user in the same and use it for search. (or) * you

Re: Debian Lenny + Apache Tomcat 5.5 + Solr 1.4

2009-12-04 Thread Kay Kay
What are the nature of the machines / VM run on ? 32-bit / 64-bit ? rajan chandi wrote: Hi All, We've deployed 4 instances of Solr on a debian server. It is taking only 1.5 GB of RAM on local ubuntu machine but it is taking 2.0 GB plus on Debian Lenny server. Any ideas/pointers will help. R

Re: latency in solr response is observed after index is updated

2009-12-01 Thread Kay Kay
What would be the average doc size. What is the autoCommit frequency set in solrconfig.xml . Another place to look at is the field cache size and the nature of warmup queries run after a new searcher is created ( happens due to a commit ). Bharath Venkatesh wrote: Hi Kalidoss, I am

snapshot creation and distribution

2009-10-02 Thread Robert . Kay
Hello, A couple questions with regard to snapshots and distribution: 1. If two snapshots are created in between a snappull, are the changes from the first snapshot "missed" by the slave, as it only pulls the most recent snapshot? 2. When triggering snapshooter from the "postCommit" hook, does a

Multiple DisMax Queries spanning across multiple fields

2009-09-23 Thread Kay Kay
For a particular requirement we have - we need to do a query that is a combination of multiple dismax queries behind the scenes. (Using solr 1.4 nightly ). The DisMaxQParser org.apache.solr.search.DisMaxQParser ( details at - http://wiki.apache.org/solr/DisMaxRequestHandler ) takes in the /qf

tag cloud with solr 1.3

2009-08-27 Thread Paul Kay
Hi all,How would I go about implementing a 'tag cloud' with Solr1.3? All I want to do is to display a list of most occurring terms in the corpus. Is there an easy way to go about that in 1.3? I saw a couple of postings about implementing it with TermVectorComponent but thats in 1.4. I'd really appr

Re: Flipping data dirs for an (/multiple) SolrCore without affecting search / IndexReaders

2009-01-08 Thread Kay Kay
Chris Hostetter wrote: : We have an architecture where we want to flip the solr data.dir (massive : dataset) while running and serving search requests with minimal downtime. ... : 1) What is the fastest / best possible way to get step 1 done ,through a : pluggable architecture. : : Curr

Approximate release date for 1.4

2008-12-18 Thread Kay Kay
Just curious - if we have an approximate target release date for 1.4 / list of milestones / feature sets for the same.

Re: Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Kay Kay
by Cole wrote: I came across this too earlier, I just deleted the contrib/javascript directory. Of course, if you need javascript library then you'll have to get it building. Sorry, probably not that helpful. :) Toby. On 17 Dec 2008, at 17:03, Kay Kay wrote: I downloaded the latest .

Nightly build - 2008-12-17.tgz - build error - java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main

2008-12-17 Thread Kay Kay
I downloaded the latest .tgz and ran $ ant dist docs: [mkdir] Created dir: /opt/src/apache-solr-nightly/contrib/javascript/dist/doc [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main [java] at JsRun.main(Unknown Source)

RequestHandler lifecycle in a Multiple SolrCore context

2008-12-16 Thread Kay Kay
If I have a CustomRequestHandler that inherits from RequestHandlerBase implementing SolrCoreAware interface - what is the lifecycle of the invocation of method - inform(SolrCore) in a multiple SolrCore context . Would it be that we have separate instances of RequestHandlers created for each So

Solrj client - CommonsHttpSolrServer - getting solr.solr.home

2008-12-16 Thread Kay Kay
I am reading the wiki here at - http://wiki.apache.org/solr/Solrj . Is there a requestHandler ( may be - some admin handler ) already present that can retrieve the solr.solr.home for a given CommonsHttpSolrServer instance ( for a given solr endpoint), through an api.

Flipping data dirs for an (/multiple) SolrCore without affecting search / IndexReaders

2008-12-16 Thread Kay Kay
We have an architecture where we want to flip the solr data.dir (massive dataset) while running and serving search requests with minimal downtime. Some additional requirements. * While ideally - we want the Solr Search clients to continue to serve from the indices as soon as possible -the over

Re: Solrj - SolrQuery - specifying SolrCore - when the Solr Server has multiple cores

2008-12-15 Thread Kay Kay
AM, Kay Kay wrote: Hi - I am looking at the article here with a brief introduction to SolrJ . http://www.ibm.com/developerworks/library/j-solr-update/index.html?ca=dgr-jw17Solr&S_Tact=105AGX59&S_CMP=GRsitejw17#solrj . In case we have multiple SolrCores in the server application

CoreContainer : register(String, SolrCore, boolean) documentation clarification about returnPrev argument

2008-12-15 Thread Kay Kay
Hi - In CoreContainer.java :: register the documentation says it would return a previous core having the same name if it existed *and returnPrev = true*. * @return a previous core having the same name if it existed and returnPrev==true */ public SolrCore register(String name, SolrCor

Solrj - SolrQuery - specifying SolrCore - when the Solr Server has multiple cores

2008-12-15 Thread Kay Kay
Hi - I am looking at the article here with a brief introduction to SolrJ . http://www.ibm.com/developerworks/library/j-solr-update/index.html?ca=dgr-jw17Solr&S_Tact=105AGX59&S_CMP=GRsitejw17#solrj . In case we have multiple SolrCores in the server application - (since 1.3) - how do I specif

Re: How can i indexing MS-Outlook files?

2008-12-13 Thread Kay Kay
You can check out the format of the MS-Outlook files. If they happen to be plain text - may be a little bit of parsing to remove the protocol headers would be needed. Otherwise - you can check with Thunderbird / OpenOffice teams to see how they parse the data when they import from MS-Outlook (

Re: Stopping / Starting IndexReaders in Solr 1.3+

2008-12-13 Thread Kay Kay
008, at 12:54 AM, Kay Kay wrote: For a particular application of ours - we need to suspend the Solr server from doing any query operation ( IndexReader-s) for sometime, and then after sometime in the near future ( in minutes ) - reinitialize / warm IndexReaders once again and get moving. It i

Re: Solr - DataImportHandler - Large Dataset results ?

2008-12-12 Thread Kay Kay
Shalin Shekhar Mangar wrote: On Sat, Dec 13, 2008 at 11:03 AM, Kay Kay wrote: Thanks Shalin for the clarification. The case about Lucene taking more time to index the Document when compared to DataImportHandler creating the input is definitely intuitive. But just curious about the

Stopping / Starting IndexReaders in Solr 1.3+

2008-12-12 Thread Kay Kay
For a particular application of ours - we need to suspend the Solr server from doing any query operation ( IndexReader-s) for sometime, and then after sometime in the near future ( in minutes ) - reinitialize / warm IndexReaders once again and get moving. It is a little bit different from sin

Re: Solr - DataImportHandler - Large Dataset results ?

2008-12-12 Thread Kay Kay
neutral is this statement . I believe mysql supports this. But I am just curious how generic is this statement going to be . Shalin Shekhar Mangar wrote: On Sat, Dec 13, 2008 at 4:51 AM, Kay Kay wrote: Thanks Bryan . That clarifies a lot. But even with streaming - retrieving one document

Re: Solr - DataImportHandler - Large Dataset results ?

2008-12-12 Thread Kay Kay
statement will be retrieved row-by-row. -Bryan On Dec 12, 2008, at Dec 12, 2:15 PM, Kay Kay wrote: > I am using MySQL. I believe (since MySQL 5) supports streaming. > > On more about streaming - can we assume that when the database driver supports streaming , the resultset iter

Re: Solr - DataImportHandler - Large Dataset results ?

2008-12-12 Thread Kay Kay
. Which database are you using? On Sat, Dec 13, 2008 at 2:20 AM, Kay Kay wrote: > As per the example in the wiki - > http://wiki.apache.org/solr/DataImportHandler - I am seeing the following > fragment. > > url="jdbc:hsqldb:/temp/

Solr - DataImportHandler - Large Dataset results ?

2008-12-12 Thread Kay Kay
As per the example in the wiki - http://wiki.apache.org/solr/DataImportHandler - I am seeing the following fragment. .. My scaled-down application looks very similar along these lines but where my resultset is s

Re: Race condition in RefCounted?

2007-05-29 Thread Kay Röpke
r own code base and for us this doesn't hold true (we are not using Solr, though). Good to know that I'm not paranoid and that Solr doesn't have that problem :) Thanks, -k -- Kay Röpke http://www.epublica.de epublica GmbH, Gänsemarkt 43, 20354 Hamburg, Tel. +49 (0)40/41098

Race condition in RefCounted?

2007-05-29 Thread Kay Röpke
ng locks around incrementAndGet() and decrementAndGet(), close() somewhat defeats the elegance of RefCounted. One might play tricks with various checks of refcount, but I haven't completely thought that one through yet, so it might not work at all. cheers, -k -- Kay Röpke http://www.epubli