AW: Combine data from index and db before sorting and pagination

2010-09-01 Thread Sertic Mirko, Bedag
f the db data is required I'd suggest storing it in the index. -- Ian. On Wed, Sep 1, 2010 at 1:43 PM, Sertic Mirko, Bedag wrote: > Hi > > > > I need to implement sorting and pagination of lucene search results. > This is quite easy, but I have to combine Data from

Combine data from index and db before sorting and pagination

2010-09-01 Thread Sertic Mirko, Bedag
Hi I need to implement sorting and pagination of lucene search results. This is quite easy, but I have to combine Data from the index with data from a database. The index has the fulltext data plus a unique identifier for a record from the database. The database stores additional data. Fulltext

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
: NFS, Stale File Handle Problem and my thoughts You only have to create the deletion policy (merging uses it). Mike On Wed, Jan 20, 2010 at 11:27 AM, Sertic Mirko, Bedag wrote: > Ok, so does the merging go thru the IndexDeletionPolicy, or do I have to deal > with the MergePolicy t

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
, Sertic Mirko, Bedag wrote: > Mike > > Thank you so much for your feedback! > > Will the new IndexDeletionPolicy also be considered when segments are merged? > Does merging also affect the NFS problem? > > Should I use IndexReader.reOpen() or just create a new IndexReader? >

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
n Wed, Jan 20, 2010 at 9:05 AM, Sertic Mirko, Bedag wrote: > Hi Mike > > Thank you for your feedback! > > So I would need the following setup: > > a) Machine A with custom IndexDeletionPolicy and single IndexReader instance > b) Machine B with custom IndexDeletionPolicy a

AW: Lucene as a primary datastore

2010-01-20 Thread Sertic Mirko, Bedag
Hi Did you ever think about a Content Repository, like JackRabbit or Alfresco? Alfresco generates also a Lucene Index for documents stored in its repository. The content repository itself is backed by a database or a filesystem... Regards Mirko -Ursprüngliche Nachricht- Von: Darren Hart

AW: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
#x27;s no good to make queries pay that cost and the deletion policy is better. Mike On Wed, Jan 20, 2010 at 8:29 AM, Sertic Mirko, Bedag wrote: > h...@all > > > > We are using Lucene 2.4.1 on Debian Linux with 2 boxes. The index is > stored on a common NFS share. Every box has

NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Sertic Mirko, Bedag
h...@all We are using Lucene 2.4.1 on Debian Linux with 2 boxes. The index is stored on a common NFS share. Every box has a single IndexReader instance, and one Box has an IndexWriter instance, adding new documents or deleting existing documents at a given point in time. After adding or deletin

Fuzzy Query with german special characters

2009-03-06 Thread Sertic Mirko, Bedag
h...@all I'd like to do a fuzzy search with german special characters. For instance I want to query for "müller", but also terms like "mueller" should be respected, as ü can also be written as ue. How could this be done? At index creation time, I could convert ü to ue, and just use the ue ve

AW: Parsing MSWord

2008-11-12 Thread Sertic Mirko, Bedag
Hi You can also use a tool called "antiword" to extract the text from a .doc file, and then give the text to lucene. See here : http://en.wikipedia.org/wiki/Antiword Regards Mirko -Ursprüngliche Nachricht- Von: dipesh [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. November 2008 04:

AW: AW: Highlighter and Phrase Queries

2008-11-10 Thread Sertic Mirko, Bedag
though, it works just like the non phrase/span aware Highlighter. - Mark Sertic Mirko, Bedag wrote: > Hi > > Thank you for your response. > Are there examples available? > > Regards > Mirko > > -Ursprüngliche Nachricht- > Von: Mark Miller [mailto:[EMAIL PROT

AW: Highlighter and Phrase Queries

2008-11-10 Thread Sertic Mirko, Bedag
SpanScorer. - Mark On Nov 10, 2008, at 8:25 AM, "Sertic Mirko, Bedag" <[EMAIL PROTECTED] > wrote: > [EMAIL PROTECTED] > > > > I am searching for a solution to make the Highlighter run property in > combination with phrase queries. > > > > I want to hi

Highlighter and Phrase Queries

2008-11-10 Thread Sertic Mirko, Bedag
[EMAIL PROTECTED] I am searching for a solution to make the Highlighter run property in combination with phrase queries. I want to highlight text with a phrase query like "windows printserver", the following highlighted: "windows printservers" are good blah blah "windows" manages "print

AW: AW: AW: Search with multiple wildcards

2008-09-11 Thread Sertic Mirko, Bedag
ds AND >> phrases using the new span support) and highlights those. >> To do anything else would require the higlighter to faithfully re-implement >> much of the logic in all of the different query types (fuzzy, wildcard, >> regex etc etc) which is much more challenging

AW: AW: Search with multiple wildcards

2008-09-11 Thread Sertic Mirko, Bedag
that version to the highlighter - see the package javadocs. http://lucene.apache.org/java/2_2_0/api/org/apache/lucene/search/highlight/package-summary.html#package_description Cheers Mark - Original Message From: "Sertic Mirko, Bedag" <[EMAIL PROTECTED]> To: java-u

AW: Search with multiple wildcards

2008-09-11 Thread Sertic Mirko, Bedag
-user@lucene.apache.org Betreff: Re: Search with multiple wildcards Of course you can construct your own BooleanQuery programmatically. It's relatively easy, just try it. On Wed, Sep 10, 2008 at 11:52 AM, Sertic Mirko, Bedag <[EMAIL PROTECTED] > wrote: > Jep, this is what i have read.

AW: Search with multiple wildcards

2008-09-10 Thread Sertic Mirko, Bedag
s as you want. See the query documentation for how to submit phrase queries. Best Erick On Wed, Sep 10, 2008 at 10:11 AM, Sertic Mirko, Bedag <[EMAIL PROTECTED] > wrote: > Hi > > Thank you for your quick response:-) > > Of course I need to use the * character :-) But I ha

AW: Search with multiple wildcards

2008-09-10 Thread Sertic Mirko, Bedag
t's in the docs. And use * rather than % . But wildcards are tricky, especially the TooManyClauses exception. You might want to peruse the archive for wildcard posts... Best Erick On Wed, Sep 10, 2008 at 9:06 AM, Sertic Mirko, Bedag <[EMAIL PROTECTED]>wrote: > [EMAIL PROTECTED] >

Search with multiple wildcards

2008-09-10 Thread Sertic Mirko, Bedag
[EMAIL PROTECTED] Is it possible to do a search with multiple wildcards in one query, for instance "%MANAGE%" AND "CORE%"? Is there a code example available? Thanks a lot Mirko