Re: Use multiple lucene indices

2011-12-07 Thread Francisco A. Lozano
out there on how to implement it properly? Francisco A. Lozano On Wed, Dec 7, 2011 at 08:46, Danil Ε’ORIN wrote: > 10B documents is a lot of data. > > Index/file won't scale: you will not be able to open all the indexes in the > same time (filehandlers limits, memory limits,

Distributed index: Infinispan Directory or GlusterFS?

2012-01-26 Thread Francisco A. Lozano
FS. Performance-wise it looks enough. Any comments on this option? In the past I tried to do my custom rsync-based + Hazelcast locking implementation, but the performance was quite bad and the complexity of the code to maintain was big. Fran

Re: analyzer per document

2012-02-09 Thread Francisco A. Lozano
Why don't you store each "file" in a single document, add a field for each "line" and use a PerFieldAnalyzerWrapper? Francisco A. Lozano On Thu, Feb 9, 2012 at 13:01, Vinaya Kumar Thimmappa wrote: > Hello All, > > I have a requirement of using different anal

Re: prefix query works, term query does not

2012-02-16 Thread Francisco A. Lozano
. It's hacky and probably incorrect, but it works... Francisco A. Lozano On Thu, Feb 16, 2012 at 09:34, mete wrote: > Hello, > I have a noobie question. I am trying to implement a small poc app.I have > lots of sharded indexes in a folder and i am trying to read

Re: Return value (or lack thereof) from IndexWriter.deleteDocuments

2012-03-04 Thread Francisco A. Lozano
Today I was thinking the same with the update operation. Is there any reason these are not provided? Francisco A. Lozano On Sun, Mar 4, 2012 at 22:42, Benson Margulies wrote: > Is there a reason why this doesn't return a count? Would a JIRA > requesting same be viewed with a

Storing same field twice (analyzed+not-analyzed), sorting

2012-04-27 Thread Francisco A. Lozano
ts when sorting, most of the documents seem correctly sorted but some of them appear at the end. Am I doing something wrong? Francisco A. Lozano - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional command

Re: Storing same field twice (analyzed+not-analyzed), sorting

2012-04-27 Thread Francisco A. Lozano
whole keyword in a term and by fuzzy/phrase) ... I guess it would be solvable if I could use a StandardAnalyzer which also generated the whole input as a token, in addition to the tokens it already generates, but I haven't managed to make one. Any suggestion in this regard? Francisco A. Lozan

Re: Adding metadata to Lucene indexes?

2011-11-03 Thread Francisco A. Lozano
This metadata Map needs to be written on every commit, or if I just use plain commit() without the Map<> it keeps the old values? Francisco A. Lozano On Thu, Nov 3, 2011 at 22:22, Greg Bowyer wrote: > I would look at the meta data for this, the magic document is something tha

Re: Adding metadata to Lucene indexes?

2011-11-04 Thread Francisco A. Lozano
Thank you :) this is very useful. Until today I maintained a "metadata" key=>value text file inside the lucene directories, but this feature looks better. Francisco A. Lozano On Fri, Nov 4, 2011 at 08:39, Uwe Schindler wrote: > You can read the Map without opening an Index