On Wed, Jun 15, 2016 at 6:08 AM, Mark Shapiro wrote:
> private static IndexSearcher getSearcher( String[] indexDirs ) throws
> Exception {
> IndexReader[] readers = new IndexReader[indexDirs.length];
> FSDirectory[] directorys = new FSDirectory[indexDirs.length];
>
> for ( int i = 0; i < in
private static IndexSearcher getSearcher( String[] indexDirs ) throws Exception
{
IndexReader[] readers = new IndexReader[indexDirs.length];
FSDirectory[] directorys = new FSDirectory[indexDirs.length];
for ( int i = 0; i < indexDirs.length; ++i ) {
File file = new File( indexDirs[i] );
Hi Mukul
There is not much information in your question. So to make a guess could
you provide
1) the time it takes to fetch the docs from sql server (without doing any
indexing)
2) the size of the documents.
3) what kind of analysing is done
4) why are you creating this mergepolicy - is this what
Hi,
I have 150k documents in lucene index folder. It is taking 30-35 minute to
rebuild the index. We are fetching this data from sql server.
I have applied below parameters while getting instance of indexWriter-
IndexWriterConfig indexWriterConfig = new
IndexWriterConfig(getAnalyzer(callerCon
The blog you're referring to is explaining the query time join
implementation that isn't using ordinal map, which is the first method in
the JoinUtil class (with the ordinal map as parameter).
If you want to use the method that uses global ordinals you can use this
snippet to create an OrdinalMap