on this?
Thank you very much in advance for your help.
Best regards,
Nada Mimouni
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
advance for your help.
Nada Mimouni
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
yntax.html
Best
Erick
On Wed, Feb 18, 2009 at 5:57 AM, Nada Mimouni <
mimo...@tk.informatik.tu-darmstadt.de> wrote:
>
>
> Hello everybody,
>
> I use Lucene to index and search into text documents.
> At present, I just index and search for single words. I want to extend this
like +termfield:word +phrasefield:"erick erickson thinks" would
work. Or, if you just require that the phrase exists you could do
it all in one field like
+field:word +field:"erick erickson thinks"
Best
Erick
On Wed, Feb 18, 2009 at 8:42 AM, Nada Mimouni <
mimo...@tk.inform
Hello,
String ws = " ";
String query =
"The"+ws+"president"+ws+"of"+ws+"the"+ws+"USA"+ws+"is"+ws+""\Barak Obama\"";
Query q = QueryParser.parse(query, new StandardAnalyser());
Query q = QueryParser.parse(query, new WhitespaceAnalyser());
In this example:
- could we create a query in such a fo
Hello,
When indexing Lucene generates terms from your original text.
To see the content and the structure of the index, use "Luke" which is a Lucene
index toolbox.
You can download it here : http://www.getopt.org/luke/
There is a detailed description of this tool (with pretty screen-shots) in
You need to create a TermQuery or PhraseQuery with terms in your query
depending on what result you need exactly.
To create PhraseQuery, try the built-in phrase processing with double quotes,
e.g.
"this is a phrase".
See the Term section at
http://lucene.apache.org/java/2_4_0/queryparsersyn
Hello everybody,
1) What is the difference between :
- inverted index
- nextword index
- common index
2) Which one(s) is(are) supported by Lucene?
3) Which class(es) create this(those) index(es)?
Thank you in advance for your help.
Nada Mimouni
addition to single terms (for both questions and
answers) and then make a search for all terms and phrases in the questions
index.
If you have any idea how I can solve this problem of indexing phrases, it would
be of great help.
Nada Mimouni
-Original Message-
From: Erick Erickson
Hi,
I have created a Lucene index with two fields.
Let's take this example entry from my index as displayed by Luke:
Field | Norm |Value
| 0.375| average
| 0.375| sal
10 matches
Mail list logo