I had done that,I used the docment.add(new
field("content",content,field.store.yes,filed.analyzer.yes));i have used
while loop to set the content like while((str=reader.readline)!=null) ,But
when i used document.get("content"),i can only get the first LIne.
--
View this message in context:
http:/
it's take a new problem,what even I seaching,I can only get the first line
data,if the data can be seach.and ,when i find my content in luke.i can find
all the data in the content,but i just can not show it.
--
View this message in context:
http://lucene.472066.n3.nabble.com/about-some-date-store
I want store some data like 00:00:00.123,it's string,i want print it as date
.because i want sort it as date's increase.
--
View this message in context:
http://lucene.472066.n3.nabble.com/about-some-date-store-tp3994330.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
I want store some data like 00:00:00.123,it's string,i want print it as date
.because i want sort it as date's increase.
--
View this message in context:
http://lucene.472066.n3.nabble.com/about-some-date-store-tp3994331.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
thank you very much. it's good for me.
--- 12年7月10日,周二, feng lu [via Lucene]
写道:
发件人: feng lu [via Lucene]
主题: Re: about some seacher(I'm new hand, thank you for help)
收件人: "sam"
日期: 2012年7月10日,周二,下午4:25
hi sam
you can add content and time stamp field like th
but,how can i used it in lucene
File logFile= new File("D:\\logFile");
BufferedReader reader=null;
String str = null;
reader = new BufferedReader(new FileReader(logFile));
while
But i don't konw how to split this two data,this is the piont.would you mind
writing down some codes to show that?thank you very much !
--
View this message in context:
http://lucene.472066.n3.nabble.com/about-some-seacher-I-m-new-hand-thank-you-for-help-tp3993397p3993808.html
Sent from the Lucen
I want seach a txt ,which is store like <2012-07-06 11:11:43some
message> at one line .How to seach that,I need get the time and content.
--
View this message in context:
http://lucene.472066.n3.nabble.com/about-some-seacher-I-m-new-hand-thank-you-for-help-tp3993397.html
Sent from the Lucene
"fieldName", "*")),
Occur.MUST_NOT));
but then I realized the javadoc says it's impossible to query with a mere
MUST_NOT clause
A workaround I can think of is to add stub fields of name "", but this
increases the size of the index =/
any suggestions are welcome
t
xReader.reopen() you should close the original
> IndexReader if it is still open to avoid memory leaks.
>
> Jason
>
> -Original Message-
> From: Sam Jiang [mailto:sam.ji...@karoshealth.com]
> Sent: Thursday, September 22, 2011 10:18 AM
> To: java-user@lucene.apache
field or any other fields are
rare.
It would be great if somebody can advice me which format should I use.
p.s. should I be calling optimize() often given my frequent updates?
thanks
--
Sam Jiang | karoshealth
(っ゚Д゚;)っ hidden cat here
7 Father David Bauer Drive, Suite 201
Waterloo, ON, N2L 0A2
Bit late joining in but since this is the first Google hit for
"site:www.nabble.com joins lucene" thought it was reasonable place to add
this note:
In my application "joins" also start to seem appealing. Almost all my use
cases fit very nicely within what Lucene does apart from a "nice to have" a
index
for each website selected in each users custom engine.
That's a lot of 'eaches', and it doesn't seem scalable.
Does anyone have any idea (even on a theoretical level) how Google
would be doing this and whether this kind of thing would be poss
exception most easily?
Sam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
p://www.theserverside.com/tss?service=direct/0/NewsThread/threadViewer.markNoisy.link&sp=l35679&sp=l180646
>
> Chris
>
> Lucene Search On Any Database
> http://www.dbsight.net
>
> On 10/26/05, Sam Lee <[EMAIL PROTECTED]>
> wr
Hi,
I just found a open source project called Compass
that works with Lucene to index database like mysql.
Has anyone used it? If so, please let us know what
you think about Compass.
Many thanks.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
Hi,
I want to use Lucene/Nutch to index my mysql
database. I think of using JDBC, is it a good idea?
I searched all over the web, but all the examples are
non-lucene/Nutch related. Would you guys give me
pointers or websites or examples on how to use JDBC on
Lucene/Nutch to index mysql databas
t; On Dienstag 25 Oktober 2005 22:37, Sam Lee wrote:
>
> > Can Lucene to be used in place of mysql so that
> > website visitors can input data that will in turn
> > inserting row into Lucene just like mysql db?
>
> That's a bad idea. Lucene lacks a real update (you
Hi,
I am wondering if I can use Lucene to substitute
real database like mysql db? I know that many people
use lucene only to index mysql db because of inferior
full-text index of mysql.
Can Lucene to be used in place of mysql so that
website visitors can input data that will in turn
inserting
available
> as open source...
> Am 25.10.2005 um 09:14 schrieb Sam Lee:
>
> > Hi,
> > My network is designed to have a bunch of
> advertisers
> > to enter their ads with keywords. I think of
> using
> > mysql to store those, and then use lucene and part
&g
No, I need to use mysql.
thanks.
--- Rick Hillegas <[EMAIL PROTECTED]> wrote:
> Hi Sam,
>
> I asked a similar question yesterday, and Steven
> Rowe kindly pointed me
> at the following code and examples, which you can
> use to integrate
> Lucene with Derby:
>
&g
Hi,
My network is designed to have a bunch of advertisers
to enter their ads with keywords. I think of using
mysql to store those, and then use lucene and part of
nutch to index them from mysql db, so that the
websites can find and show the ads. But how do I
integrate lucene/nutch with mysql?
s ( eg +/-
> operators) which may
> cause them to fail when run as queries against the
> MemoryIndexed subject
> doc which is why the first "query the queries"
> search is insufficient to
> find the matches.
>
> Cheers,
> Mark
>
>
> Sam Lee wro
Hi,
Someone suggested that I should use MemoryIndex to
match content to a large # of queries. e.g. "nike red
shoes" --match--> "nike shoes -blue" and --match-->
"nike shoes -black"... What if I have 10 of these
queries for each content? and there maybe 100 of
these contents.
But how f
wrote:
> Sam - I'm not quite sure I follow you, but let's see
> if this fits...
> you want to have a document and see if a query
> matches it? Please
> elaborate more on what you're after. Maybe what
> you're looking for
> is the contrib/memory an
d positive one called
> negative
> you query have to look somehow like this:
> positive: (keyword1 keywordN) AND NOT
> negative:(keyword1 keywordN)
>
> Am 23.10.2005 um 20:50 schrieb Sam Lee:
>
> > Yes, I thought of that. But since the ads have
> > negative keywor
m your page (ajax), remove stop
> words, build a
> query from the page words by connect the words with
> OR and you will
> find the best matching ad.
> You may need to limit the words per page or set the
> maximum clauses
> to a much higher number.
> HTH
> Stefan
&g
nike shoes
-blue". The only difference is that it is doing it in
reverse.
many thanks.
--- Erik Hatcher <[EMAIL PROTECTED]> wrote:
> Sam - I'm not quite sure I follow you, but let's see
> if this fits...
> you want to have a document and see if a query
> matche
Hi,
Normally, lucene or Nutch can match query "nike shoe
-blue" with "red nike shoe".
But what about matching "red nike shoe" with query
"nike shoe -blue"? It is the other way around. Can I
do it with a combinations of API?
Many thanks.
__
Do Yo
Hi,
Do you guys have good recommendation on websites
that have detail explanation about how to use Lucene?
If they have source examples too, that would be great.
I already read the book Lucene in Action.
Many thanks.
__
Yahoo! FareChase: Se
ypically describe
> pages of that class
> - it then automatically creates the pattern
> descriptors it will use
> against other pages.
>
> Hope this helps,
>
> Simon
>
> Sam Lee wrote:
>
> >Hi,
> >I am implementing a Google Adwords-like Text Ad
&
Hi,
I am implementing a Google Adwords-like Text Ad thing.
In Adwords, advertisers enter keywords and phases in
their ads. When visitor visits a webpage with
potential Google text ads, I want to know how they
link the webpage to the actual text ads? Linking those
text ads to the webpage is easy, th
32 matches
Mail list logo