You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "diasp (JIRA)" <ji...@apache.org> on 2007/02/07 13:28:05 UTC
[jira] Created: (LUCENE-797) Query for searching document whose
title starts with ...
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-797) Query for searching document whose
title starts with ...
Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org