[ 
https://issues.apache.org/jira/browse/LUCENE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/LUCENE-797
>             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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to