Lucene linking/joining or AND operation on multiple documents

2017-04-24 Thread JavaTech .
Hi All, I am beginner in lucene . I will come to matter first, actually We are planning to use lucene as search engine for our application. We will have to manage many type of search queries like combination of OR and AND with multiple docs. Currently I am stuck in one search query, it need to ha

Compound File Format overhead?

2017-04-24 Thread Otis Gospodnetić
Hi, Does CFS/Compound file format have any known/measurable overhead? Or is it so insignificant that there is no value in trying to disable it? Thanks, Otis -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/

RE: CharacterUtils can't use getInstance method in Lucene 6.5.0

2017-04-24 Thread Uwe Schindler
Hi, in 6.2 it moved to Lucene core: https://lucene.apache.org/core/6_5_0/core/org/apache/lucene/analysis/CharacterUtils.html The getInstance method is no longer there, because there was for long time only one useable instance available (the other one got deprecated) - it was quasi a singleton.

CharacterUtils can't use getInstance method in Lucene 6.5.0

2017-04-24 Thread danasa
Hi, I'm upgrading my code to Lucene 6.5.0 and I have a problem using the static method CharacterUtils .getInstance(), which is not recognized anymore. I didn't see any changes regarding this class in the change log but in the other hand I didn't find the JavaDoc of CharacterUtils after version 6.1.

Re: will lucene traverse all segments to search a 'primary key'term or will it stop as soon as it get one?

2017-04-24 Thread Ravikumar Govindarajan
> > Let’s say I have a user info index and user id is the ‘primary key’. So > when I do a userid term search, will lucene traverse all segments to search > a 'primary key'term or will it stop as soon as it get one? Lucene in general will search all segments for primary key. But in case you want a

solr does not support the high availability of hadoop?

2017-04-24 Thread 380382...@qq.com
if there is two master of name node A and B, if A now is active .then we create a collection which index in hdfs and Configuration is the address of A. After a while B became active.now this application can not be used. Is there any way to solve it? 380382...@qq.com

Re: any plan to support hash index?

2017-04-24 Thread Adrien Grand
Le lun. 24 avr. 2017 à 05:02, 马可阳 a écrit : > Last week I did a test: > Use a pk to search elasticsearch, and it’s TPS is 16000+(I use mmap fs, > filter etc to optimize search performance) while I use Redis to do it and > it’s TPS is 8+ > If you want optimal performance, you should use the G

AND operation on multiple documents in lucene

2017-04-24 Thread jayan
I am new into lucene. Currently I am stuck in one query search implementation, we store some mail information into lucene as by number documents. One mail can have 5-6 docs . Added below a sample structure of data, 1) "id": "1","sendr_name": "*sender1*", "recip_name": "*recipient1*", "subject": "*

Re: How to get document effectively. or FieldCache example

2017-04-24 Thread neeraj shah
This way I am indexing my files: InputStream is = new BufferedInputStream(new FileInputStream(file));BufferedReader bufr = new BufferedReader(new InputStreamReader(is));String inputLine="" ;while((inputLine=bufr.readLine())!=null ){Document doc = new Document(); doc.add(new Field("contents",inpu