Krupansky
-Original Message-
From: Lochschmied, Alexander
Sent: Monday, August 13, 2012 3:05 AM
To: solr-user@lucene.apache.org
Subject: AW: AW: Indexing wildcard patterns
Here is what we do in SQL:
mysql> select * from _tbl;
+++
| id | field |
+++
|
pansky [mailto:j...@basetechnology.com]
Gesendet: Freitag, 10. August 2012 18:39
An: solr-user@lucene.apache.org
Betreff: Re: AW: Indexing wildcard patterns
"Doc1 has the pattern "AB%CD%" associated with it (somehow?!)."
You need to clarify what you mean by that.
To be clear, Solr su
On Fri, Aug 10, 2012 at 12:38:46PM -0400, Jack Krupansky wrote:
> "Doc1 has the pattern "AB%CD%" associated with it (somehow?!)."
>
> You need to clarify what you mean by that.
I'm not the OP, but I think (s)he means the patterns are in the
database and the string to match is given in the query.
eady do in SQL and now wish to do it in
Solr, please tell us about it.
-- Jack Krupansky
-Original Message-
From: Lochschmied, Alexander
Sent: Friday, August 10, 2012 5:25 AM
To: solr-user@lucene.apache.org
Subject: AW: Indexing wildcard patterns
I thought my question might be c
Thank you Toke, your comments made a lot of sense to me. Luckily we do not have
many patterns and we just decided to consider only the prefixes up to the first
wildcard. So we will no longer have to deal with patterns.
Alexander
-Ursprüngliche Nachricht-
Von: Toke Eskildsen [mailto:t...@
> So in the example I provided below, a user might enter "
> ABCDXYZ " and I need Solr to return Doc1, as Doc1 has the
> pattern "AB%CD%" associated with it (somehow?!).
OK understood now. You can use Lucene's MemoryIndex for this.
http://lucene.apache.org/core/3_6_1/api/contrib-memory/org/apache
I thought my question might be confusing...
I know about Solr providing wildcards in queries, but my problem is different.
I have those patterns associated with my searchable documents before any actual
search is done.
I need Solr to return the document which is associated with matching patterns