Re: HELP: CommonsHttpSolrServer.commit() time out after 1min

2013-02-19 Thread Siping Liu
SolrJ? post.jar? > > Best > Erick > > > On Tue, Feb 19, 2013 at 8:00 PM, Siping Liu wrote: > > > Thanks for the quick response. It's Solr 3.4. I'm pretty sure we get > plenty > > memory. > > > > > > > > On Tue, Feb 19, 2013 at 7:5

Re: HELP: CommonsHttpSolrServer.commit() time out after 1min

2013-02-19 Thread Siping Liu
. > > Personal blog: http://blog.outerthoughts.com/ > LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch > - Time is the quality of nature that keeps events from happening all at > once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) > > > On Tue

HELP: CommonsHttpSolrServer.commit() time out after 1min

2013-02-19 Thread Siping Liu
Hi, we have an index with 2mil documents in it. From time to time we rewrite about 1/10 of the documents (just under 200k). No autocommit. At the end we a single commit and got time out after 60 sec. My questions are: 1. is it normal to have the commit of this size takes more than 1min? I know it's

Re: custom sorter

2012-07-22 Thread Siping Liu
2012 at 3:24 AM, Lee Carroll wrote: > take a look at > http://wiki.apache.org/solr/QueryElevationComponent > > On 20 July 2012 03:48, Siping Liu wrote: > > > Hi, > > I have requirements to place a document to a pre-determined position for > > special filter query v

custom sorter

2012-07-19 Thread Siping Liu
Hi, I have requirements to place a document to a pre-determined position for special filter query values, for instance when filter query is fq=(field1:"xyz") place document abc as first result (the rest of the result set will be ordered by sort=field2). I guess I have to plug in my Java code as a

match to non tokenizable word ("helloworld")

2010-05-16 Thread siping liu
I get no match when searching for "helloworld", even though I have "hello world" in my index. How do people usually deal with this? Write a custom analyzer, with help from a collection of all dictionary words? thanks for suggestions/comments. __

weird problem with solr.DateField

2009-11-11 Thread siping liu
Hi, I'm using Solr 1.4 (from nightly build about 2 months ago) and have this defined in solrconfig: and following code that get executed once every night: CommonsHttpSolrServer solrServer = new CommonsHttpSolrServer("http://...";); solrServer.setRequestWriter(new BinaryRequestWriter());

RE: Solr and Garbage Collection

2009-10-02 Thread siping liu
Hi, I read pretty much all posts on this thread (before and after this one). Looks like the main suggestion from you and others is to keep max heap size (-Xmx) as small as possible (as long as you don't see OOM exception). This brings more questions than answers (for me at least. I'm new to So

anyway to get Document update time stamp

2009-09-17 Thread siping liu
I understand there's no "update" in Solr/lucene, it's really delete+insert. Is there anyway to get a Document's insert time stamp, w/o explicitely creating such a data field in the document? If so, how can I query it, for instance "get all documents that are older than 24 hours"? Thanks. __

DisMaxRequestHandler usage

2009-06-16 Thread siping liu
Hi, I have this standard query: q=(field1:hello OR field2:hello) AND (field3:world) Can I use dismax handler for this (applying the same search term on field1 and field2, but keep field3 with something separate)? If it can be done, what's the advantage of doing it this way over using the s

Query faceting

2009-06-08 Thread siping liu
Hi, I have a field called "service" with following values: - Shuttle Services - Senior Discounts - Laundry Rooms - ... When I conduct query with "facet=true&facet.field=service&facet.limit=-1", I get something like this back: - shuttle 2 - service 3 - senior 0 - laundry 0 - room 3 -

RE: Creating a distributed search in a searchComponent

2009-05-21 Thread siping liu
I was looking for answer to the same question, and have similar concern. Looks like any serious customization work requires developing custom SearchComponent, but it's not clear to me how Solr designer wanted this to be done. I have more confident to either do it at Lucene level, or stay on cli

adding plug-in after search is done

2009-04-27 Thread siping liu
trying to manipulate search result (like further filtering out unwanted), and ordering the results differently. Where is the suitable place for doing it? I've been using QueryResponseWriter but that doesn't seem to be the right place. thanks. ___