Re: Indexing a Date/DateTime/Time field in Lucene 4

2017-04-08 Thread KARTHIK SHIVAKUMAR
I did use the Date into millisec and stored the long into index, this helped me to convert the searched index into any date format later on the o/p. On Wed, Apr 5, 2017 at 6:08 PM, Frederik Van Hoyweghen < frederik.vanhoyweg...@chapoo.com> wrote: > Hey everyone, > > I'm seeing some conflicting

Re: Indexing and searching a DateTime range

2015-02-09 Thread KARTHIK SHIVAKUMAR
Hi Long time ago,.. I used to store datetime in millisecond . TermRangequery used to work in perfect condition Convert all datetime to millisecond and index the same. On search condition again convert datetime to millisecond and use TermRangequery. With regards Karthik On Feb 9, 2015 1:24

Re: Can some terms from analysis be silently dropped when indexing? Because I'm pretty sure I'm seeing that happen.

2014-08-25 Thread KARTHIK SHIVAKUMAR
some terms from analysis be silently dropped when indexing Then I presume the same need to be also be exempted/dropped while searching process. else the desired results are not as expected. with regards karthik On Mon, Aug 25, 2014 at 12:52 PM, Trejkaz trej...@trypticon.org wrote: It

Re: Re-indexing a particular field only without re-indexing the entire enclosing document in the index

2012-04-25 Thread KARTHIK SHIVAKUMAR
alone. All of this need to be done in Iteration for large set of docs. with regards karthik On Wed, Apr 25, 2012 at 12:37 PM, Torsten Krah tk...@fachschaft.imn.htwk-leipzig.de wrote: Am Dienstag, den 24.04.2012, 21:57 +0530 schrieb KARTHIK SHIVAKUMAR: Simple Techniques is to use Update

Re: Re-indexing a particular field only without re-indexing the entire enclosing document in the index

2012-04-24 Thread KARTHIK SHIVAKUMAR
Hi Simple Techniques is to use Update Index for the dynamic data colum rather then re-indexing the whole document. with regards karthik On Mon, Apr 23, 2012 at 9:01 PM, Jong Kim jong.luc...@gmail.com wrote: Hi, I'm sure that this is very common use case that probably hundreds of

Re: lucene-3.0.3

2012-02-01 Thread KARTHIK SHIVAKUMAR
Hi lucene-3.0.3 can be used for searching a text from Lucene 's primary job is to do a text search. May it be PDF/HTML/XML/MSword/PPT/XLS U have to have the code for plugin to do 2 things 1) Strip text from either of the Documents (PDF/HTML/XML/MSword/PPT/XLS) 2) Index this processed text

Re: Can't get a hit

2011-12-30 Thread KARTHIK SHIVAKUMAR
Hi My suggestion U should have a Common coloum which stores Unique Identity of the Data being Index. ex - Name+Date of Record This helps in replacing the duplicates with latest by using TermQuery search /Replace process. This also helps in Maintaining unique record List with out

Re: Lucene bangalore chapter

2011-12-11 Thread KARTHIK SHIVAKUMAR
Hi I definitely think there is NONE.. ;) with regards karthik On Tue, Dec 6, 2011 at 11:41 AM, Vinaya Kumar Thimmappa vthimma...@ariba.com wrote: is there a lucene Bangalore chapter ? -Vinaya - To unsubscribe,

Re: tokenizing text using language analyzer but preserving stopwords if possible

2011-12-11 Thread KARTHIK SHIVAKUMAR
Hi tokenize the original foreign text into words Need to Identify the Appropriate analyzer ( foreign language before Indexing ...) with regards karthik On Wed, Dec 7, 2011 at 4:57 PM, Avi Rosenschein arosensch...@gmail.comwrote: On Wed, Dec 7, 2011 at 00:41, Ilya Zavorin izavo...@caci.com

Re: Lucene index inside of a web app?

2011-12-05 Thread KARTHIK SHIVAKUMAR
like? I'm lost. On Thu, Dec 1, 2011 at 11:04 PM, KARTHIK SHIVAKUMAR nskarthi...@gmail.comwrote: Hi generated Lucene index What if u need to upgrade this with More docs Best approach is Inject the Real path of the Index ( c:/temp/Indexes ) to the Web server Application via

Re: lucene-core-3.3.0 not optimizing

2011-12-05 Thread KARTHIK SHIVAKUMAR
unlikely. In 3.5.0 all optimize() calls are deprecated anyway. I suggest you read the release notes and the javadocs, upgrade to 3.5.0 and remove all optimize() calls altogether. -- Ian. On Fri, Dec 2, 2011 at 9:58 AM, KARTHIK SHIVAKUMAR nskarthi...@gmail.com wrote: Hi I have used

Re: [JOB] Lucid Imagination is hiring

2011-12-05 Thread KARTHIK SHIVAKUMAR
Hi Too bad during Recession Am from INDIA ;( with regards karthik On Mon, Dec 5, 2011 at 9:10 PM, Grant Ingersoll gsing...@apache.org wrote: Hi All, If you've wanted a full time job working on Lucene or Solr, we have two positions open that just might be of interest. The job

Re: Use multiple lucene indices

2011-12-05 Thread KARTHIK SHIVAKUMAR
hi would the memory usage go through the roof? Yup My past experience got me pickels in there... with regards karthik On Mon, Dec 5, 2011 at 11:28 PM, Rui Wang rw...@ebi.ac.uk wrote: Hi All, We are planning to use lucene in our project, but not entirely sure about some of the

Re: lucene-core-3.3.0 not optimizing

2011-12-02 Thread KARTHIK SHIVAKUMAR
impossible to give you any reasonable answer. simon On Fri, Dec 2, 2011 at 4:54 AM, KARTHIK SHIVAKUMAR nskarthi...@gmail.com wrote: Hi Spec O/s win os 7 Jdk : 1.6.0_29 Lucene lucene-core-3.3.0 Finally after Indexing successfully ,Why this Code does not optimize ( sample

lucene-core-3.3.0 not optimizing

2011-12-01 Thread KARTHIK SHIVAKUMAR
Hi Spec O/s win os 7 Jdk : 1.6.0_29 Lucene lucene-core-3.3.0 Finally after Indexing successfully ,Why this Code does not optimize ( sample code ) INDEX_WRITER.optimize(100); INDEX_WRITER.commit(); INDEX_WRITER.close(); *N.S.KARTHIK R.M.S.COLONY BEHIND

Re: Lucene index inside of a web app?

2011-12-01 Thread KARTHIK SHIVAKUMAR
Hi generated Lucene index What if u need to upgrade this with More docs Best approach is Inject the Real path of the Index ( c:/temp/Indexes ) to the Web server Application via web.xml By this approach u can even achieve 1) Load balancing of multiple Web servers pointing to same

Re: Improving indexing speed

2011-11-17 Thread KARTHIK SHIVAKUMAR
Hi the file to be indexed depends on the type of Document / data extractor My Document types are usually XML type and every time 2+ Million XML's are indexed and time taken is less then 5 minuts. with regards karthik On Fri, Nov 11, 2011 at 1:17 AM, Ian Lea ian@gmail.com wrote:

Re: Reopening an index reader still giving me deleted records ?

2011-11-08 Thread KARTHIK SHIVAKUMAR
Hi BUT still find records that have been deleted and no longer exist in the index Lucene API 3.3.0 has something like * org.apache.lucene.index.IndexCommit Has this been used after deletion of the records plz check The indexex may still be there and may popup on new search with

Re: No subsearcher in Lucene 3.3?

2011-09-02 Thread KARTHIK SHIVAKUMAR
HI Long time ago I used to do the same ... I used to name the merger Index unique names ..so at run time If the Query returned from 1STMERGER then the path relevant to 1STMEGEr will be used. similarly U NEED NOT STORE A NEW COLUMN FOR THIS SAKE.. 1MERGER = /temp/MERGER1

How can i index a Java Bean into Lucene application ?

2011-08-06 Thread KARTHIK SHIVAKUMAR
Hi How can i index a Java Bean into Lucene application ? instead of a file API : IndexWriter writer = new IndexWriter(*FSDirectory.open(INDEX_DIR)*, new StandardAnalyzer(Version.LUCENE_CURRENT), true, IndexWriter.MaxFieldLength.LIMITED); Is there any alternate for the same . ex: *