Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
How can I use InetAddressPoint in Lucene 6.5?

Can please somebody explain to me why the following doesn't work?

Document docObj = new Document();
InetAddress addr = null;
try {addr = InetAddress.getByName("127.0.0.1");}
catch (UnknownHostException e) {e.printStackTrace();}
if (addr != null)
    docObj.add(new InetAddressPoint("ipAddress", addr));

I'm importing org.apache.lucene.document.InetAddressPoint and I added the .../lucene-6.5.0/sandbox/lucene-sandbox-6.5.0.jar to my project, but my IDE (intellij) keeps on telling me that InetAddressPoint is unknown.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!