Please forgive my lack of knowledge on this theme, but why cannot Lucene /
Solr cannot be used as primary database / data store?
On Fri, Jul 27, 2012 at 3:16 AM, Aditya wrote:
> Check out these articles on this topic. Hope it helps.
> http://www.findbestopensource.com/article-detail/lucene-solr-a
Since the
> QueryParser is doing extra work that you don't have to do considering
> that you already know everything about the query, your second example
> is faster.
>
> On Mon, Jan 30, 2012 at 1:55 PM, Felipe Carvalho
> wrote:
> > Is there any difference, from a p
Consider a people index, containing People documents with the following
names:
Doc 1 [name: "Marcus"]
Doc 2 [name: "Markus"]
Doc 3 [name: "Mharcus"]
Suppose I use an analyzer so that all 3 names have the same representation.
Supposing I use the same analyzer when running a search for name=markus,
I had a similar problem. The problem was the "-' char, which is a special
char for Lucene. You can try indexing the data in lowercase and use
WhitespaceAnalyzer for both indexing and searching over the field. One
other option is replace "-" with "_" when indexing and searching. This way,
your data
ing
to use Solr instead.
Thanks for any help anyone may give.
On Mon, Nov 21, 2011 at 12:25 PM, Erick Erickson wrote:
> http://wiki.apache.org/solr/FieldCollapsing
>
> On Mon, Nov 21, 2011 at 8:17 AM, Felipe Carvalho
> wrote:
> > Thanks for the tip, Erick! Any pointer to an
2011/11/21 liugangc :
> >> hi,faceted search is like group by in SQL, and also need query two time
> to get two list in your situation. I think there isn't better way to solve
> your problem.
> >>
> >> --
> >> gang liu
> >> email: liuga
Hello,
I'm working on a people finder app over an index built of Person
documents. Among other attributes (name, gender, phone, ...) I have a
hiringType attribute, which possible values are EMPLOYEE and CONSULTANT.
When I run a "name" search over these documents, I need to render two
lists: emp
I've found a couple of people asking around the same thing over the
internet, just wanted to check with the experts if there's a better way to
do this: how do I paginate Lucene search results? Is there a native way to
do this or should I, upon each request, open the index, do the search and
get the
t only for
> trunk/4.0.
>
> Maybe use Solr instead?! ;)
>
>Erik
>
> On Nov 9, 2011, at 02:29 , Felipe Carvalho wrote:
>
> > Using PerFieldAnalyzerWrapper seems to be working for what I need!
> >
> > On indexing:
> >
> >PerFi
uble-metaphone.
> Maybe that helps.
>
> paul
>
>
> Le 9 nov. 2011 à 11:29, Felipe Carvalho a écrit :
>
> > Using PerFieldAnalyzerWrapper seems to be working for what I need!
> >
> > On indexing:
> >
> >PerFieldAnalyzerWrapper wrapper = new P
IA examples.
I'm looking at lucene-contrib stuff at
http://lucene.apache.org/java/3_4_0/lucene-contrib/index.html but I can't
seem to find other phonetic analyzers.
Thanks!
On Tue, Nov 8, 2011 at 12:19 PM, Erik Hatcher wrote:
>
> On Nov 8, 2011, at 05:42 , Felipe Carvalho wro
On Tue, Nov 8, 2011 at 10:06 AM, Erik Hatcher wrote:
>
> On Nov 8, 2011, at 03:58 , Felipe Carvalho wrote:
>
> > One other question: I'm looking at Lucene 3.4 javadocs (
> > http://lucene.apache.org/java/3_4_0/api/core/index.html) but I can't
> find
> > Met
Sorry, the last was a dumb question, just found
org.apache.lucene:lucene-analyzers:3.3.0 on maven central repo
Thanks a lot for the help!
On Tue, Nov 8, 2011 at 10:16 AM, Felipe Carvalho
wrote:
> Thanks, Erik!
>
> I'm looking at lucene-all javadocs, and there are some inter
po? or should I get those contrib classes out of
some other dependency?
Thanks!
On Tue, Nov 8, 2011 at 10:06 AM, Erik Hatcher wrote:
>
> On Nov 8, 2011, at 03:58 , Felipe Carvalho wrote:
>
> > One other question: I'm looking at Lucene 3.4 javadocs (
> > http://lucene.apach
#x27;m guessing things kinda
changed since then.
Thanks!
On Tue, Nov 8, 2011 at 9:50 AM, Felipe Carvalho
wrote:
> Thanks for the reply, Paul!
>
> I got this example from Lucene In Action:
>
> public void testKoolKat(){
> RAMDirectory directory = new RAMDirectory
quot;. For example, suppose
I want to look for all documents which contents phonetically match "kool
kat" and exactName match "kat" but not "cat", generating an expression like
this: "exactName:kat AND contents:kool kat".
Is it possible to do this? If so, how
.0 version only.
Can anyone point to an example of phonetic indexing and searching? Should
I use Phonetix (
http://www.companywebstore.de/tangentum/mirror/en/products/phonetix/index.html)
stuff?
Thanks a lot,
Felipe
s you said.
Just be assured that you really want to use Lucene for this. If you already
have the term-vectors maybe you could just implement the closest
neighbours calculation
by yourself. Just compare your target document with every other in the
dataset and rank by similarity.
Felipe Hummel
On S
ould apply.
See the first page of this
article<http://www.cis.upenn.edu/~jstoy/cis650/papers/WAND.pdf>for
more information.
Felipe Hummel
On Mon, Oct 24, 2011 at 8:29 AM, sol myr wrote:
> Hi,
>
> Thanks for this reply.
>
> Could I please just ask - doesn't Lucene keep t
rrect?
On Thu, Mar 10, 2011 at 4:36 PM, Andrzej Bialecki wrote:
> On 3/10/11 8:32 PM, Felipe Hummel wrote:
>
>> Hi, I'm building a system where I want to show only results indexed in the
>> past few days. Furthermore, I don't want to maintain a giant index with
>
ot cheap.
Am I missing something?
Thanks
Felipe Hummel
ecified field,
> and i just need the context of each keyword (i.e. some specified part of the
> contents in the specified field).
>
>
> Are there any ways to do so???
>
>
> Thx.
>
>
> Cescy
--
Felipe Lobo
www.jusbrasil.com.br
parser = new QueryParser(Version.LUCENE_29, "Field2",new
> StandardAnalyzer(Version.LUCENE_29));
>
> Should I create multiple parsers in this case or is there any other way
> round?
>
--
Felipe Lobo
www.jusbrasil.com.br
t; at the top of the search results. This would happen after the Boost is
> > applied.
> >
> > Anyone know how to do this?
> >
> > Thanks,
> > -bp
> >
> >
> >
> > -----
> > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> > For additional commands, e-mail: java-user-h...@lucene.apache.org
> >
> >
>
--
Felipe Lobo
www.jusbrasil.com.br
no longer
> score rate artist 'The Beatles' better than 'The Beatles revival Band'
>
> So isn't there any way to recognise that repeated calls to addField() is
> not creating a single field with many terms,but many fields with few terms.
>
> thanks Paul
>
t;..."
}
catch (Exception ex){
logger.error(ex.toString());
}
i'm using brazilian analyser with lucene core 2.9.1 and highlighter and
memory 2.9.0 .
thanks.
--
Felipe Lobo
www.jusbrasil.com.br
m I/O to CPU/RAM.
>
>
> -----
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>
--
Felipe Lobo
www.jusbrasil.com.br
do i do that?
Thanks,
--
Felipe Lobo
www.jusbrasil.com.br
as id 35[OK]
and the other has 350[?]).
I'm using ParallelMultiSearcher, because my app runs in a server where the
index is distributed(big index), but this duplication happens when i'm
running local on my machine without distributed index!
thanks,
--
Felipe Lobo
www.jusbrasil.com.br
ys.
> Correct me if I'm wrong :)
> --
> Anshum Gupta
> Naukri Labs!
> http://ai-cafe.blogspot.com
>
> The facts expressed here belong to everybody, the opinions to me. The
> distinction is yours to draw
>
>
> On Fri, Oct 2, 2009 at 11:05 PM, Felipe Lobo wr
keyQuery.add(bQuery,
> BooleanClause.Occur.SHOULD);
>}
>}
>
>
> CachingWrapperFilter cf;
> Searcher searcher;
> HitCollector collector;
> . some assignments...
> searcher.search(keyQuery, cf, collector);
>
>
> Thanks & Regards,
> Priya
> PT-7A-012
> Residency Road
> Bangalore
> India
> Mob: 99011 22033
>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>
--
Felipe Lobo
www.jusbrasil.com.br
n Thu, Oct 1, 2009 at 10:44 AM, Mark Miller wrote:
> Felipe Lobo wrote:
> > Hi, thanks for the answer but it didn't work.
> > I stopped rewriting the query and used the queryscorer but it don't
> > highlight.
> > The part of the query i'm doing wildcard is
ot;Habeas Corpus HC 100930027253 ES 100930027253"
And of what lib is TermQueryScorer? I check out on lucene javadoc and didn't
see.
Thanks!
On Wed, Sep 30, 2009 at 6:38 PM, Mark Miller wrote:
> Felipe Lobo wrote:
> > Hi, i updated my lucene lib to 2.9.0 and i'm tryi
es is the best way of implementing spanscorer??
I was using queryscorer but after update to the new lib the highlither
stopped hightlithing my wildcard queries, and i'm rewriting.
Thanks,
--
Felipe Lobo
www.jusbrasil.com.br
_OFFSETS));
doc.add(new Field("filename", f.getCanonicalPath(), Field.Store.YES,
Field.Index.NO_NORMS));
writer.addDocument(doc);
.
----
Thanks in advance
--
Felipe.
-
To unsubscribe, e-mail: [EMA
35 matches
Mail list logo