There is a text_rev field type in the example schema.xml file in the
official release of 1.4. It uses the ReversedWildcardFilterFactory to revers
a field. You can do a copyField from the field you want to use for leading
wildcard searches to a field using the text_rev field, and then do a regular
is in solr 1.4 maby a way to search with an wildcard at the beginning?
in 1.3 i cant activate it.
KingArtus
See http://issues.apache.org/jira/browse/SOLR-218 - Solr currently
does not have leading wildcard support enabled.
Erik
On Jul 20, 2009, at 8:09 AM, Jörg Agatz wrote:
Hallo Solr Users...
I tryed to search with a Wildcard at the beginning from a search.
for example, i will search
There is a hacky way to do it if you can pull it off. You can prepend some
known prefix to the field then strip it off when you get the results back.
An example would be putting Phone: in front of every value in a phone number
field then instead of searching like this *-111- (which won't
Add setAllowLeadingWildcard(true); to the constructor of
org.apache.solr.search.SolrQueryParser.java
Gr, Reza
On Jul 20, 2009, at 4:00 PM, Jeff Newburn wrote:
There is a hacky way to do it if you can pull it off. You can
prepend some
known prefix to the field then strip it off when you
Depending on how you are sending docs in for indexing, you could also add an
additional field who's value was a string reverse of the primary value. Then
search that field with a trialing wildcard.
-Original Message-
From: Jeff Newburn [mailto:jnewb...@zappos.com]
Sent: Monday, July