Remove part of keywords from existing index and merging new index

2011-02-18 Thread Ryan Chan
Hello, I am not sure if it is possible. 1. I have a document of 100MB, I want to remove keywords started with a specific pattern, e.g. abc*, so all keywords started with abc* in the index will be removed, and I don't need to reindex the document again. 2. I have another document of 100KB, I

Re: TermVector query using Solr Tutorial

2011-02-09 Thread Ryan Chan
Hello, On Tue, Feb 8, 2011 at 11:12 PM, Grant Ingersoll gsing...@apache.org wrote: It's a little hard to read due to the indentation, but AFAICT you have two terms, usb and cabl.  USB appears at position 0 and cabl at position 1.   Those are the relative positions to each other.  Perhaps you

TermVector query using Solr Tutorial

2011-02-05 Thread Ryan Chan
Hello all, I am following this tutorial: http://lucene.apache.org/solr/tutorial.html, I am playing with the TermVector, here is my step: 1. Launch the example server, java -jar start.jar 2. Index the monitor.xml, java -jar post.jar monitor.xml, which contains the following adddoc field

Is it possible to get keyword/match's position?

2010-07-27 Thread Ryan Chan
According to SO: http://stackoverflow.com/questions/1557616/retrieving-per-keyword-field-match-position-in-lucene-solr-possible It is not possible, but it is one year ago, is it still true for now? Thanks.

Getting the offset of search keyword in a document

2010-07-24 Thread Ryan Chan
Hello, I am new to Solr/Lucene and I am evaluating if they suit my need and replace our in-house system. Our requirements: 1. I have multiple documents (1M) 2. Each document contains text ranged from few KB to a few MB 3. I want to search for a keyword, search thru all theses document, and it