lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <>
Subject [jira] Resolved: (LUCENE-797) Query for searching document whose title starts with ...
Date Wed, 07 Feb 2007 13:12:05 GMT


Erik Hatcher resolved LUCENE-797.

    Resolution: Invalid

The java-user e-mail list is the appropriate forum to ask questions.  The issue tracker is
used for tracking bugs and feature enhancements.

If you did not tokenize the title, you could use a prefix query (title*) with QueryParser
(though you will likely want to lowercase, and index a tokenized title into another field
for full-text search capability).  

QueryParser does not currently support the SpanQuery's, but with a SpanQuery you could find
terms at the beginning of a field.

> Query for searching document whose title starts with ...
> --------------------------------------------------------
>                 Key: LUCENE-797
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: QueryParser
>            Reporter: diasp
> Do you know the correct syntax for QueryParser to search all documents whose field 'title'
starts with a selected text?
> Thank you for your help.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message