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
...@statsbiblioteket.dk]
Gesendet: Freitag, 10. August 2012 13:29
An: solr-user@lucene.apache.org
Betreff: Re: Indexing wildcard patterns
On Fri, 2012-08-10 at 10:07 +0200, Lochschmied, Alexander wrote:
> Coming from a SQL database based search system, we already have a set of
> defined pa
On Fri, 2012-08-10 at 10:07 +0200, Lochschmied, Alexander wrote:
> Coming from a SQL database based search system, we already have a set of
> defined patterns associated with our searchable documents.
>
> % matches no or any number of characters
> _ matches one character
>
> Example:
> Doc 1: 'A
> 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
.
Thanks,
Alexander
-Ursprüngliche Nachricht-
Von: Ahmet Arslan [mailto:iori...@yahoo.com]
Gesendet: Freitag, 10. August 2012 10:34
An: solr-user@lucene.apache.org
Betreff: Re: Indexing wildcard patterns
--- On Fri, 8/10/12, Lochschmied, Alexander
wrote:
> From: Lochschmied, Alexander
>
--- On Fri, 8/10/12, Lochschmied, Alexander
wrote:
> From: Lochschmied, Alexander
> Subject: Indexing wildcard patterns
> To: "solr-user@lucene.apache.org"
> Date: Friday, August 10, 2012, 11:07 AM
> Coming from a SQL database based
> search system, we already ha
Coming from a SQL database based search system, we already have a set of
defined patterns associated with our searchable documents.
% matches no or any number of characters
_ matches one character
Example:
Doc 1: 'AB%CD', 'AB%CD%'
Doc 2: 'AB_CD'
...
Thus Doc 1 matches
ABXYZCD
ABCD
ABCDXYZ
...
10 matches
Mail list logo