search-time Field.setBoost()

2012-08-27 Thread Damian Birchler
Hello list I'm looking for something like Field.setBoost(float boost) that can be set at search time. The reason for this is that we would like to provide user (client-side) configurable search queries, where the user can assign weights to the fields (all fields, not just those mentioned in the

RE: Seeking more moderators for java-user@lucene

2012-08-27 Thread Dan Higinbotham
I have tried multiple times to unsubscribe, and it never works. Could you unsubscribe me? -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Monday, August 27, 2012 11:12 AM To: Lucene Users Cc: java-user-ow...@lucene.apache.org Subject: Seeking more modera

Re: Lucene Index backward compatibility related question

2012-08-27 Thread Stephen Howe
Paul, So long as you are not writing to the 3.x index, it appears Lucene 4.0 can read the indexes in a read only format. See Mike McCandle's blog post http://blog.mikemccandless.com/2012/07/lucene-400-alpha-at-long-last.html about the alpha release codecs. As to whether or not that codec allows yo

Re: Lucene Index backward compatibility related question

2012-08-27 Thread Jack Krupansky
Technically, you should be able to use both 3.0 and 4.0 indexes in the same app, but a recent inquiry here indicated some unresolved problem. Here's the official statement from CHANGES.txt for 4.0-BETA: " - On upgrading to 4.0, if you do not fully reindex your documents, Lucene will emulate

Re: Lucene join

2012-08-27 Thread Stephen Howe
Trupti, Looking over your sample query, that looks like you're trying to do a SQL query against a database instead of a Lucene query. If you're going against a SQL database, Lucene isn't a good tool for the problem you've outlined. If you're using SQL, you can do multiple joins to link multiple ta

How to properly refresh MultiReader IndexSearcher in Lucene 4.0-BETA

2012-08-27 Thread Mossaab Bagdouri
Hi, The context is that I've migrated from Lucene 3.6 to Lucene 4.0-BETA. Lucene 3.6 had the convenient method IndexSearcher.isCurrent() for any underlying IndexReader, including MultiReader. This is no more the case for Lucene 4.0-BETA. I've been suffering in the last 48h until I came up with thi

Seeking more moderators for java-user@lucene

2012-08-27 Thread Chris Hostetter
Greetings subscribers to java-user@lucene. I've been offline for the past ~5 days, and when i looked at my email again this morning I found a message to java-user@lucene sitting in the moderator queue since Aug 22nd. Messages sitting in the queue that long are a good indication that we don'

Lucene join

2012-08-27 Thread Trupti Ghuge
Hi, I am new to Lucene. I have a complex query where I need to join more than two tables and have different filtering criteria on it. Is it possible to use Lucene for this ? For example , my query is as follows(there is no foreing key relation on the tables): Select x.id from tablex x, ta

Lucene Index backward compatibility related question

2012-08-27 Thread Sitowitz, Paul
Hello, I have two products that are using Lucene: The first product creates the Lucene indexes for some data using Lucene version 3.01. The second product utilizes the indexes created by the first product for text search purposes and is also using Lucene 3.01. I understand that the latest vers

Re: Use an analyzer with Term, FuzzyQuery, BooleanQuery and friends

2012-08-27 Thread Jack Krupansky
See: http://mail-archives.apache.org/mod_mbox/lucene-java-user/201208.mbox/%3c42b9aa72526143469066683a1a2fe86a95a...@clg-exch1.clg.Local%3E Just plug in whatever analyzer you use for indexing. -- Jack Krupansky From: Damian Birchler Sent: Monday, August 27, 2012 10:30 AM To: mailto:java-user@

Use an analyzer with Term, FuzzyQuery, BooleanQuery and friends

2012-08-27 Thread Damian Birchler
Hello list I build my queries programmatically with Term, NumericTerm, FuzzyQuery, BooleanQuery etc. In particular, I do not use QueryParser to build my query from a string. Still, I would like to first run the values for my terms through an analzyer (more precisely, the same analyzer that I us