lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "saikrishna venkata pendyala" <pvsaikris...@gmail.com>
Subject Re: Re : porting lucene on to mobile phone
Date Mon, 08 Oct 2007 16:13:49 GMT
On 10/8/07, Karl Wettin <karl.wettin@gmail.com> wrote:
>
>
> 8 okt 2007 kl. 17.40 skrev saikrishna venkata pendyala:
>
> >  I have abt 17,00,000 documents in 1000 files. I need to index the
> > titles of
> > those documents with out storing the titles and storing the file name.
>
> Not sure I understand what you say here.
>
> You want to create 1,7 million documents containing a short and
> indexed field: title, and a stored field: file name?


Yes this is what I need.


> When ever I issue a query I need to get the name of the file in
> > which that
> > document exists.
>
> You only require boolean term queries? And no scoring, sorting or
> anything like that?



I need the name of the file in which the best matched title exists. Don't I
need scoring here.

Suppose my query is "q1 q2 q3" and their are titles like "q1
q2","q3","q1",etc.  Among this the best mateched title is "q1 q2", and I
need the name of the file in which the document with title "q1 q2" occur.



In that case, it should not be that hard to rewrite Lucene for your
> needs.
>
> See LUCENE-584 for seperation of Matcher and Scorer.
>
>
> --
> karl
>
>
> >
> > thanks,
> > Saikrishna.
> >
> > On 10/8/07, Karl Wettin <karl.wettin@gmail.com> wrote:
> >>
> >>
> >> 8 okt 2007 kl. 15.36 skrev saikrishna venkata pendyala:
> >>
> >>>       Has any one tried to port lucene on to a mobile phone. I
> >>> need a
> >>> text-based search engine for mobile phone as part of my project.
> >>
> >>
> >> There was some discussion about this here on the forums some year(s?)
> >> ago. The major problem back then was the lack of floaing points.
> >> Also, as Lucene moves towards Java 1.5 the possible compabillity with
> >> J2ME moves further away.
> >>
> >>>       Or is there any other J2ME based API which can be used to
> >>> search the
> >>> text in mobile phones.
> >>
> >> Before asking too much you should tell us some about your project.
> >> How large is the corpus, what features do you require, et c? I.e. do
> >> you really need Lucene, is it perhaps sufficient with something
> >> simple as a trie-pattern?
> >>
> >> --
> >> karl
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-user-help@lucene.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message