[ALFRESCO] - lucene indexing

2014-08-04 Thread Tristan
not sure if i'm in the right place but, looking for help with lucene indexing in alfresco. It looks like indexing is turned on however, i'm specifically having issues with not being able to query values on a custom property in a custom model. I added the index enable on the field but, i get no res

Re: Is housekeeping of Lucene indexes block index update but allow search ?

2014-08-04 Thread Erick Erickson
Right. 1> Occasionally the merge will require 2x the disk space. (3x in compound file system). The merging is, indeed, done in the background, it is NOT a blocking operation. 2> n/a. It shouldn't block at all. Here's a cool video by Mike McCandless on the merging process, plus some explanations:

Re: How does Lucene decide which fields to index?

2014-08-04 Thread Sachin Kulkarni
Thank you Ian and Kumaran. I checked that when I am reading back from the IndexReader, the fields are getting stored but not indexed. Since I am using Lucene's Benchmark utility to index the data, I have to trace the code to see how it is using the in-built TREC parser to index data. But somewhe

Re: Is housekeeping of Lucene indexes block index update but allow search ?

2014-08-04 Thread Kumaran R
Hi Gaurav 1.When you opened index to write,till you close that index, there will be a lock to do further write. But not for search. During merge, index needs 3X ( not sure 2X?) of more storage space, i believe that is the reason for no blocking for search. ( any other experts can clarify you more

Re: How does Lucene decide which fields to index?

2014-08-04 Thread Kumaran R
You should know two things to get this. 1.Indexed fields can be searched. 2.Stored fields can be fetched. Check your code whether you are storing all fields. -- Kumaran R Sent from Phone > On 04-Aug-2014, at 7:13 pm, Sachin Kulkarni wrote: > > Hi, > > I am using lucene 4.6.0 to index a dataset

Is housekeeping of Lucene indexes block index update but allow search ?

2014-08-04 Thread Gaurav gupta
Hi, We are planning to use Lucene 4.8.1 over Oracle (1 to 2 TB data) and seeking information on "How Lucene conduct housekeeping or maintenance of indexes over a period of time". *Is it a blocking operation for write and search or it will not block anything while merging is going on? * I found :

Re: How does Lucene decide which fields to index?

2014-08-04 Thread Ian Lea
You tell it what you want. See the javadocs for org.apache.lucene.document.Field and friends such as TextField. -- Ian. On Mon, Aug 4, 2014 at 2:43 PM, Sachin Kulkarni wrote: > Hi, > > I am using lucene 4.6.0 to index a dataset. > I have the following fields: > doctitle, docbody, docname, doc

How does Lucene decide which fields to index?

2014-08-04 Thread Sachin Kulkarni
Hi, I am using lucene 4.6.0 to index a dataset. I have the following fields: doctitle, docbody, docname, docid, date. But when I access the fields using indexReader.getTermVectors(indexedDocID) then I only get two fields docbody and docname. How do I index so that I also get doctitle? Thank you.

Re: Fetching stored data takes more time

2014-08-04 Thread Ian Lea
Retrieving stored data is always likely to take longer than not doing so. There are some tips in http://wiki.apache.org/lucene-java/ImproveSearchingSpeed. But taking over a minute to retrieve data for 50 hits sounds excessive. Are you sure about those figures? -- Ian. On Thu, Jul 31, 2014 at