Jean-Marc Fontaine
2008-09-23 13:25:26 UTC
Hello,
I use Lucene to search documents. The actual content of the documents is
stored in the database. I index the documents ids and content in Lucene for
search purposes.
When a document is removed from my database, I need to remove it from Lucene
index. To do so, I need to find the Lucene document id which is different
from my document id.
When I search for "id:2" for example, my query is considered insignificant
by the query parser. I tried to add some prefix to avoid potential minimal
length but only the prefix is search for.
Any idea anyone ? :)
I use Lucene to search documents. The actual content of the documents is
stored in the database. I index the documents ids and content in Lucene for
search purposes.
When a document is removed from my database, I need to remove it from Lucene
index. To do so, I need to find the Lucene document id which is different
from my document id.
When I search for "id:2" for example, my query is considered insignificant
by the query parser. I tried to add some prefix to avoid potential minimal
length but only the prefix is search for.
Any idea anyone ? :)
--
View this message in context: http://www.nabble.com/Lucene-%3A-Numeric-value-ignored-in-search-query-tp19627596p19627596.html
Sent from the Zend MFS mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Lucene-%3A-Numeric-value-ignored-in-search-query-tp19627596p19627596.html
Sent from the Zend MFS mailing list archive at Nabble.com.